Class OAuth2AuthorizedClientId
- java.lang.Object
-
- org.springframework.security.oauth2.client.OAuth2AuthorizedClientId
-
- All Implemented Interfaces:
java.io.Serializable
public final class OAuth2AuthorizedClientId extends java.lang.Object implements java.io.SerializableThe identifier forOAuth2AuthorizedClient.- Since:
- 5.2
- See Also:
OAuth2AuthorizedClient,OAuth2AuthorizedClientService, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuth2AuthorizedClientId(java.lang.String clientRegistrationId, java.lang.String principalName)Constructs anOAuth2AuthorizedClientIdusing the provided parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Constructor Detail
-
OAuth2AuthorizedClientId
public OAuth2AuthorizedClientId(java.lang.String clientRegistrationId, java.lang.String principalName)Constructs anOAuth2AuthorizedClientIdusing the provided parameters.- Parameters:
clientRegistrationId- the identifier for the client's registrationprincipalName- the name of the End-UserPrincipal(Resource Owner)
-
-