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
ConstructorDescriptionOAuth2AuthorizedClientId
(String clientRegistrationId, String principalName) Constructs anOAuth2AuthorizedClientId
using the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the identifier for theclient registration
.Returns the name of the End-UserPrincipal
(Resource Owner).int
hashCode()
-
Constructor Details
-
OAuth2AuthorizedClientId
Constructs anOAuth2AuthorizedClientId
using 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()
-