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 SummaryConstructorsConstructorDescriptionOAuth2AuthorizedClientId(String clientRegistrationId, String principalName) Constructs anOAuth2AuthorizedClientIdusing the provided parameters.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the identifier for theclient registration.Returns the name of the End-UserPrincipal(Resource Owner).inthashCode()
- 
Constructor Details- 
OAuth2AuthorizedClientIdConstructs anOAuth2AuthorizedClientIdusing the provided parameters.- Parameters:
- clientRegistrationId- the identifier for the client's registration
- principalName- the name of the End-User- Principal(Resource Owner)
 
 
- 
- 
Method Details- 
getClientRegistrationIdReturns the identifier for theclient registration.- Returns:
- the identifier for the client registration
- Since:
- 6.3
 
- 
getPrincipalNameReturns the name of the End-UserPrincipal(Resource Owner).- Returns:
- the name of the End-User
- Since:
- 6.3
 
- 
equals
- 
hashCodepublic int hashCode()
 
-