Class AbstractOptionallyAuthenticatedRequest

java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
com.nimbusds.oauth2.sdk.AbstractOptionallyAuthenticatedRequest
All Implemented Interfaces:
Message, Request
Direct Known Subclasses:
AbstractOptionallyIdentifiedRequest, PushedAuthorizationRequest, RequestObjectPOSTRequest, TokenIntrospectionRequest

Abstract request with optional client authentication. Supports more than one client authentication method, for deployments that allow migration of the authentication methods for a client, for example, from client_secret_basic to private_key_jwt.

Client authentication methods:

  • Constructor Details

  • Method Details

    • getClientAuthentication

      Returns the client authentication.
      Returns:
      The client authentication, null if none.
    • getClientAuthenticationCandidates

      Returns the client authentication candidates. This method is intended for deployments that allow migration of the authentication methods for a client, for example from client_secret_basic to private_key_jwt.
      Returns:
      The client authentication candidates, empty list if none.