Class PlainClientSecret

java.lang.Object
com.nimbusds.oauth2.sdk.auth.ClientAuthentication
com.nimbusds.oauth2.sdk.auth.PlainClientSecret
Direct Known Subclasses:
ClientSecretBasic, ClientSecretPost

public abstract class PlainClientSecret extends ClientAuthentication
Base abstract class for plain secret based client authentication at the Token endpoint.

Related specifications:

  • OAuth 2.0 (RFC 6749), sections 2.3.1 and 3.2.1.
  • OpenID Connect Core 1.0, section 9.
  • Constructor Details

    • PlainClientSecret

      protected PlainClientSecret(ClientAuthenticationMethod method, ClientID clientID, Secret secret)
      Creates a new plain secret based client authentication.
      Parameters:
      method - The client authentication method. Must not be null.
      clientID - The client identifier. Must not be null.
      secret - The client secret. Must not be null.
  • Method Details