Interface Authenticator

All Known Implementing Classes:
OpenIdAuthenticationProvider.OpenIdAuthenticator

public interface Authenticator
An interface for handling authentication challenges.
  • Method Details

    • getName

      String getName()
      Gets the authenticator name (e.g. UMA, OpenID).
      Returns:
      the name
    • getPriority

      int getPriority()
      Gets the priority of the authenticator.
      Returns:
      the priority
    • authenticate

      CompletionStage<Credential> authenticate(Session session, Request request, Set<String> algorithms)
      Perform an ansynchronous authentication process, resulting in an access token.
      Parameters:
      session - the client session
      request - the HTTP request
      algorithms - the supported DPoP algorithms
      Returns:
      the next stage of completion, containing the access token