Class OAuthClientRegistrationProviderDetails
java.lang.Object
com.broadleafcommerce.auth.client.domain.OAuthClientRegistrationProviderDetails
- All Implemented Interfaces:
Serializable
A wrapper for
ClientRegistration.ProviderDetails
to allow correspondence with a
persistent version of the same.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
URI that can either be an OpenID Connect discovery endpoint or an OAuth 2.0 Authorization Server Metadata endpoint defined by RFC 8414.The ID of the registered provider.int
hashCode()
void
setAuthorizationUri
(String authorizationUri) void
setConfigurationMetadata
(Map<String, Object> configurationMetadata) void
setIssuerUri
(String issuerUri) URI that can either be an OpenID Connect discovery endpoint or an OAuth 2.0 Authorization Server Metadata endpoint defined by RFC 8414.void
setJwkSetUri
(String jwkSetUri) void
setRegistrationId
(String registrationId) The ID of the registered provider.void
setTokenUri
(String tokenUri) void
setUserInfoEndpoint
(OAuthClientRegistrationProviderDetails.UserInfoEndpoint userInfoEndpoint) toString()
-
Constructor Details
-
OAuthClientRegistrationProviderDetails
public OAuthClientRegistrationProviderDetails()
-
-
Method Details
-
getRegistrationId
The ID of the registered provider. Should matchOAuthClientRegistrationWrapper.getRegistrationId()
.- Returns:
- The ID of the registered provider.
-
getIssuerUri
URI that can either be an OpenID Connect discovery endpoint or an OAuth 2.0 Authorization Server Metadata endpoint defined by RFC 8414.This is used to gather the provider details which would otherwise be unknown since some providers only provide this to integrators.
- Returns:
- URI that can either be an OpenID Connect discovery endpoint or an OAuth 2.0 Authorization Server Metadata endpoint defined by RFC 8414.
-
getAuthorizationUri
- See Also:
-
ClientRegistration.ProviderDetails.getAuthorizationUri()
-
getTokenUri
- See Also:
-
ClientRegistration.ProviderDetails.getTokenUri()
-
getUserInfoEndpoint
- See Also:
-
ClientRegistration.ProviderDetails.getUserInfoEndpoint()
-
getJwkSetUri
- See Also:
-
ClientRegistration.ProviderDetails.getJwkSetUri()
-
getConfigurationMetadata
- See Also:
-
ClientRegistration.ProviderDetails.getConfigurationMetadata()
-
setRegistrationId
The ID of the registered provider. Should matchOAuthClientRegistrationWrapper.getRegistrationId()
.- Parameters:
registrationId
- The ID of the registered provider.
-
setIssuerUri
URI that can either be an OpenID Connect discovery endpoint or an OAuth 2.0 Authorization Server Metadata endpoint defined by RFC 8414.This is used to gather the provider details which would otherwise be unknown since some providers only provide this to integrators.
- Parameters:
issuerUri
- URI that can either be an OpenID Connect discovery endpoint or an OAuth 2.0 Authorization Server Metadata endpoint defined by RFC 8414.
-
setAuthorizationUri
- See Also:
-
ClientRegistration.ProviderDetails.getAuthorizationUri()
-
setTokenUri
- See Also:
-
ClientRegistration.ProviderDetails.getTokenUri()
-
setUserInfoEndpoint
public void setUserInfoEndpoint(OAuthClientRegistrationProviderDetails.UserInfoEndpoint userInfoEndpoint) - See Also:
-
ClientRegistration.ProviderDetails.getUserInfoEndpoint()
-
setJwkSetUri
- See Also:
-
ClientRegistration.ProviderDetails.getJwkSetUri()
-
setConfigurationMetadata
- See Also:
-
ClientRegistration.ProviderDetails.getConfigurationMetadata()
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-