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.Serializable
The 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 anOAuth2AuthorizedClientId
using the provided parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Constructor Detail
-
OAuth2AuthorizedClientId
public OAuth2AuthorizedClientId(java.lang.String clientRegistrationId, java.lang.String principalName)
Constructs anOAuth2AuthorizedClientId
using the provided parameters.- Parameters:
clientRegistrationId
- the identifier for the client's registrationprincipalName
- the name of the End-UserPrincipal
(Resource Owner)
-
-