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 Type
    Method
    Description
    boolean
    verifyToken(String service, AuthToken token)
    Validate the specified token for the specified service
  • Method Details

    • verifyToken

      boolean verifyToken(String service, AuthToken token)
      Validate the specified token for the specified service
      Returns:
      True if the token was valid, false otherwise
      Throws:
      TokenVerificationException - if the server was unreachable
      AuthException - if any other authentication problem occurred