Interface Oauth2AccessTokenProviderParameters.Provider

Enclosing interface:
Oauth2AccessTokenProviderParameters

public static interface Oauth2AccessTokenProviderParameters.Provider
Spring Security OAUth 2.0 client provider properties
  • Method Details

    • authorizationUri

      String authorizationUri()
      The authorization URI
      Returns:
      Authorization URI, normally used when constructing a request for the OAuth 2.0 authorization servers 'authorization' endpoint
    • tokenUri

      String tokenUri()
      The token URI
      Returns:
      Token URI, normally used when constructing a request for the OAuth 2.0 authorization servers 'token' endpoint
    • userInfoUri

      String userInfoUri()
      The user info URI
      Returns:
      User info URI, normally used when constructing a request for the OAuth 2.0 authorization servers 'user info' endpoint
    • userInfoAuthenticationMethod

      String userInfoAuthenticationMethod()
      The user info authentication
      Returns:
      User info authentication method, normally used when constructing a request for the OAuth 2.0 authorization servers 'user info' endpoint
    • userNameAttribute

      String userNameAttribute()
      The username attribute
      Returns:
      Name of the attribute that will be used to extract the username from the call to 'userInfoUri'.
    • jwkSetUri

      String jwkSetUri()
      The JSON Web Key set URI
      Returns:
      JWK set URI, normally used to obtain cryptographic keys when JWT tokens are used
    • issuerUri

      String issuerUri()
      The issuer URI
      Returns:
      URI that can either be an OpenID Connect discovery endpoint or an OAuth 2.0 Authorization Server Metadata endpoint defined by RFC 8414.