Class AbstractOptionallyIdentifiedRequest

All Implemented Interfaces:
Message, Request
Direct Known Subclasses:
DeviceAuthorizationRequest, TokenRequest, TokenRevocationRequest

Abstract request with optional client authentication or client identification.

Client authentication methods:

Client identification methods:

  • Top level client_id parameter.
  • Constructor Details

    • AbstractOptionallyIdentifiedRequest

      Creates a new abstract request with optional client authentication.
      Parameters:
      uri - The URI of the endpoint (HTTP or HTTPS) for which the request is intended, null if not specified (if, for example, the Request.toHTTPRequest() method will not be used).
      clientAuth - The client authentication, null if none.
    • AbstractOptionallyIdentifiedRequest

      public AbstractOptionallyIdentifiedRequest(URI endpoint, List<ClientAuthentication> clientAuthCandidates)
      Creates a new abstract request with optional client authentication candidates.
      Parameters:
      endpoint - The URI of the endpoint. May be null if the Request.toHTTPRequest() method is not going to be used.
      clientAuthCandidates - The client authentication candidates, null if none.
    • AbstractOptionallyIdentifiedRequest

      Creates a new abstract request with optional client identification.
      Parameters:
      uri - The URI of the endpoint (HTTP or HTTPS) for which the request is intended, null if not specified (if, for example, the Request.toHTTPRequest() method will not be used).
      clientID - The client identifier, null if not specified.
  • Method Details