Interface ClientAuthenticationConfigurationInput.Builder

  • Method Details

    • clientAuthenticationMethod

      ClientAuthenticationConfigurationInput.Builder clientAuthenticationMethod(String clientAuthenticationMethod)

      How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.

      Parameters:
      clientAuthenticationMethod - How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientAuthenticationMethod

      ClientAuthenticationConfigurationInput.Builder clientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod)

      How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.

      Parameters:
      clientAuthenticationMethod - How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientId

      OAuth client identifier registered with the authorization server.

      Parameters:
      clientId - OAuth client identifier registered with the authorization server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecret

      The client secret, supplied either as a value for the service to store or as a reference to a secret you own. Required when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST, and must be omitted when it is NONE.

      Parameters:
      clientSecret - The client secret, supplied either as a value for the service to store or as a reference to a secret you own. Required when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST, and must be omitted when it is NONE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecret

      The client secret, supplied either as a value for the service to store or as a reference to a secret you own. Required when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST, and must be omitted when it is NONE.

      This is a convenience method that creates an instance of the ClientSecretInput.Builder avoiding the need to create one manually via ClientSecretInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clientSecret(ClientSecretInput).

      Parameters:
      clientSecret - a consumer that will call methods on ClientSecretInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: