Module org.elasticsearch.xcore
Class ServiceAccountTokenStore.StoreAuthenticationResult
java.lang.Object
org.elasticsearch.xpack.core.security.authc.service.ServiceAccountTokenStore.StoreAuthenticationResult
- Enclosing interface:
ServiceAccountTokenStore
-
Method Summary
Modifier and TypeMethodDescriptionfailed(TokenInfo.TokenSource tokenSource) fromBooleanResult(TokenInfo.TokenSource tokenSource, boolean result) booleansuccessful(TokenInfo.TokenSource tokenSource)
-
Method Details
-
successful
public static ServiceAccountTokenStore.StoreAuthenticationResult successful(TokenInfo.TokenSource tokenSource) -
failed
public static ServiceAccountTokenStore.StoreAuthenticationResult failed(TokenInfo.TokenSource tokenSource) -
fromBooleanResult
public static ServiceAccountTokenStore.StoreAuthenticationResult fromBooleanResult(TokenInfo.TokenSource tokenSource, boolean result) -
isSuccess
public boolean isSuccess() -
getTokenSource
-