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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanURI 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.inthashCode()voidsetAuthorizationUri(String authorizationUri) voidsetConfigurationMetadata(Map<String, Object> configurationMetadata) voidsetIssuerUri(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.voidsetJwkSetUri(String jwkSetUri) voidsetRegistrationId(String registrationId) The ID of the registered provider.voidsetTokenUri(String tokenUri) voidsetUserInfoEndpoint(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
-