Package io.deephaven.enterprise.auth
Interface TokenVerificationClient
- All Known Subinterfaces:
AuthenticationClient
,PublicKeyAuthenticationClient
,TokenAuthenticationClient
,TokenFactoryFactory
- All Known Implementing Classes:
AuthenticationClientManager
,AuthenticationClientManager.Null
,AuthenticationClientManagerBase
,GrpcAuthenticationClientManager
public interface TokenVerificationClient
-
Method Summary
Modifier and TypeMethodDescriptionboolean
verifyToken
(String service, AuthToken token) Validate the specified token for the specified service
-
Method Details
-
verifyToken
Validate the specified token for the specified service- Returns:
- True if the token was valid, false otherwise
- Throws:
TokenVerificationException
- if the server was unreachableAuthException
- if any other authentication problem occurred
-