Package io.deephaven.enterprise.auth
Class AuthenticationClientManagerBase.SingleClientTokenFactory
java.lang.Object
io.deephaven.enterprise.auth.AuthenticationClientManagerBase.TokenFactoryBase
io.deephaven.enterprise.auth.AuthenticationClientManagerBase.SingleClientTokenFactory
- All Implemented Interfaces:
TokenFactoryFactory.TokenFactory
- Enclosing class:
- AuthenticationClientManagerBase
public abstract static class AuthenticationClientManagerBase.SingleClientTokenFactory
extends AuthenticationClientManagerBase.TokenFactoryBase
Token factory for the single client case, which applies for the gRPC authentication server case.
-
Constructor Summary
ConstructorsConstructorDescriptionSingleClientTokenFactory
(TokenFactoryFactory mgr, String service, String user) -
Method Summary
Methods inherited from class io.deephaven.enterprise.auth.AuthenticationClientManagerBase.TokenFactoryBase
isRetryable, log, tryActionUntil, tryActionWithToken, tryGetWithTokenUsingStartedBackoff
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.enterprise.auth.TokenFactoryFactory.TokenFactory
tryGetWithToken, tryGetWithToken, tryGetWithTokenUsingStartedBackoff
-
Constructor Details
-
SingleClientTokenFactory
-
-
Method Details
-
getToken
Description copied from class:AuthenticationClientManagerBase.TokenFactoryBase
Obtain an authentication token as the first step of a two-step operation with a second step using the token.- Specified by:
getToken
in classAuthenticationClientManagerBase.TokenFactoryBase
- Returns:
- an authentication token.
-