Class OAuthClientRegistrationProviderDetails

    • Constructor Detail

      • OAuthClientRegistrationProviderDetails

        public OAuthClientRegistrationProviderDetails()
    • Method Detail

      • getIssuerUri

        public String 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

        public String getAuthorizationUri()
        See Also:
        ClientRegistration.ProviderDetails.getAuthorizationUri()
      • getTokenUri

        public String getTokenUri()
        See Also:
        ClientRegistration.ProviderDetails.getTokenUri()
      • getJwkSetUri

        public String getJwkSetUri()
        See Also:
        ClientRegistration.ProviderDetails.getJwkSetUri()
      • getConfigurationMetadata

        public Map<String,​Object> getConfigurationMetadata()
        See Also:
        ClientRegistration.ProviderDetails.getConfigurationMetadata()
      • setIssuerUri

        public 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.

        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

        public void setAuthorizationUri​(String authorizationUri)
        See Also:
        ClientRegistration.ProviderDetails.getAuthorizationUri()
      • setTokenUri

        public void setTokenUri​(String tokenUri)
        See Also:
        ClientRegistration.ProviderDetails.getTokenUri()
      • setJwkSetUri

        public void setJwkSetUri​(String jwkSetUri)
        See Also:
        ClientRegistration.ProviderDetails.getJwkSetUri()
      • setConfigurationMetadata

        public void setConfigurationMetadata​(Map<String,​Object> configurationMetadata)
        See Also:
        ClientRegistration.ProviderDetails.getConfigurationMetadata()
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object