Class OAuth2AuthorizedClientId
java.lang.Object
org.springframework.security.oauth2.client.OAuth2AuthorizedClientId
- All Implemented Interfaces:
 Serializable
The identifier for 
OAuth2AuthorizedClient.- Since:
 - 5.2
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionOAuth2AuthorizedClientId(String clientRegistrationId, String principalName) Constructs anOAuth2AuthorizedClientIdusing the provided parameters. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the identifier for theclient registration.Returns the name of the End-UserPrincipal(Resource Owner).inthashCode() 
- 
Constructor Details
- 
OAuth2AuthorizedClientId
Constructs anOAuth2AuthorizedClientIdusing the provided parameters.- Parameters:
 clientRegistrationId- the identifier for the client's registrationprincipalName- the name of the End-UserPrincipal(Resource Owner)
 
 - 
 - 
Method Details
- 
getClientRegistrationId
Returns the identifier for theclient registration.- Returns:
 - the identifier for the client registration
 - Since:
 - 6.3
 
 - 
getPrincipalName
Returns the name of the End-UserPrincipal(Resource Owner).- Returns:
 - the name of the End-User
 - Since:
 - 6.3
 
 - 
equals
 - 
hashCode
public int hashCode() 
 -