Class AuthenticationResult
- java.lang.Object
-
- org.camunda.bpm.extension.graphql.auth.AuthenticationResult
-
public class AuthenticationResult extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringauthenticatedUserprotected booleanisAuthenticated
-
Constructor Summary
Constructors Constructor Description AuthenticationResult(String authenticatedUser, boolean isAuthenticated)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthenticatedUser()booleanisAuthenticated()voidsetAuthenticated(boolean isAuthenticated)voidsetAuthenticatedUser(String authenticatedUser)static AuthenticationResultsuccessful(String userId)static AuthenticationResultunsuccessful()static AuthenticationResultunsuccessful(String userId)
-
-
-
Field Detail
-
authenticatedUser
protected String authenticatedUser
-
isAuthenticated
protected boolean isAuthenticated
-
-
Constructor Detail
-
AuthenticationResult
public AuthenticationResult(String authenticatedUser, boolean isAuthenticated)
-
-
Method Detail
-
getAuthenticatedUser
public String getAuthenticatedUser()
-
setAuthenticatedUser
public void setAuthenticatedUser(String authenticatedUser)
-
isAuthenticated
public boolean isAuthenticated()
-
setAuthenticated
public void setAuthenticated(boolean isAuthenticated)
-
successful
public static AuthenticationResult successful(String userId)
-
unsuccessful
public static AuthenticationResult unsuccessful()
-
unsuccessful
public static AuthenticationResult unsuccessful(String userId)
-
-