Interface Oauth2AccessTokenProviderParameters.Registration

Enclosing interface:
Oauth2AccessTokenProviderParameters

public static interface Oauth2AccessTokenProviderParameters.Registration
Spring Security OAUth 2.0 client registration properties
  • Method Details

    • provider

      org.apache.commons.lang3.tuple.ImmutablePair<String, Oauth2AccessTokenProviderParameters.Provider> provider()
      A pair with client provider and its name
      Returns:
      Reference to OAuth 2.0 provider properties (from the Blueriq properties). Left side of the pair contains the provider name, right side the provider (can be null)
    • clientId

      String clientId()
      The client id
      Returns:
      Client ID, normally sent to the OAuth 2.0 authorization server to authenticate with an access token request
    • clientSecret

      String clientSecret()
      The client secret
      Returns:
      Client secret, normally sent to the OAuth 2.0 authorization server (when using 'client_credentials') to authenticate with an access token request
    • clientAuthenticationMethod

      String clientAuthenticationMethod()
      The client authentication method
      Returns:
      Client authentication method, normally 'client_secret_basic' or 'client_secret_post'
    • authorizationGrantType

      String authorizationGrantType()
      The authorization grant type
      Returns:
      Authorization grant type, normally 'client_credentials' (Default supported by Blueriq)
    • redirectUri

      String redirectUri()
      The redirect URI
      Returns:
      Redirect URI, optional, not applicable for Blueriq REST service calls
    • scope

      Set<String> scope()
      A set of authorization scopes
      Returns:
      Authorization scopes, optional, normally when left empty the OAuth 2.0 authorization servers default scopes are used
    • clientName

      String clientName()
      The client name
      Returns:
      Client name, optional