Interface Oauth2AccessTokenProviderParameters.Registration

Enclosing interface:
Oauth2AccessTokenProviderParameters

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

    • provider Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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

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

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

      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 Link icon

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