Class OAuth2AuthorizedClientId

java.lang.Object
org.springframework.security.oauth2.client.OAuth2AuthorizedClientId
All Implemented Interfaces:
Serializable

public final class OAuth2AuthorizedClientId extends Object implements Serializable
The identifier for OAuth2AuthorizedClient.
Since:
5.2
See Also:
  • Constructor Details

    • OAuth2AuthorizedClientId

      public OAuth2AuthorizedClientId(String clientRegistrationId, String principalName)
      Constructs an OAuth2AuthorizedClientId using the provided parameters.
      Parameters:
      clientRegistrationId - the identifier for the client's registration
      principalName - the name of the End-User Principal (Resource Owner)
  • Method Details