Class OIDCProviderEndpointMetadata


  • public class OIDCProviderEndpointMetadata
    extends AuthorizationServerEndpointMetadata
    OpenID Provider (OP) endpoint metadata.

    Related specifications:

    • OAuth 2.0 Authorization Server Metadata (RFC 8414)
    • OAuth 2.0 Mutual TLS Client Authentication and Certificate Bound Access Tokens (RFC 8705)
    • OAuth 2.0 Device Flow for Browserless and Input Constrained Devices (draft-ietf-oauth-device-flow-14)
    • OpenID Connect Discovery 1.0, section 3.
    • OpenID Connect Session Management 1.0, section 2.1 (draft 28).
    • OpenID Connect Front-Channel Logout 1.0, section 3 (draft 02).
    • OpenID Connect Back-Channel Logout 1.0, section 2.1 (draft 04).
    • Method Detail

      • getRegisteredParameterNames

        public static Set<StringgetRegisteredParameterNames()
        Gets the registered provider metadata parameter names for endpoints.
        Returns:
        The registered provider metadata parameter names for endpoints, as an unmodifiable set.
      • getUserInfoEndpointURI

        public URI getUserInfoEndpointURI()
        Gets the UserInfo endpoint URI. Corresponds the userinfo_endpoint metadata field.
        Returns:
        The UserInfo endpoint URI, null if not specified.
      • setUserInfoEndpointURI

        public void setUserInfoEndpointURI​(URI userInfoEndpoint)
        Sets the UserInfo endpoint URI. Corresponds the userinfo_endpoint metadata field.
        Parameters:
        userInfoEndpoint - The UserInfo endpoint URI, null if not specified.
      • parse

        public static OIDCProviderEndpointMetadata parse​(net.minidev.json.JSONObject jsonObject)
                                                  throws ParseException
        Parses an OAuth 2.0 Authorisation Server endpoint metadata from the specified JSON object.
        Parameters:
        jsonObject - The JSON object to parse. Must not be null.
        Returns:
        The OAuth 2.0 Authorisation Server endpoint metadata.
        Throws:
        ParseException - If the JSON object couldn't be parsed to an OAuth 2.0 Authorisation Server endpoint metadata.