Interface OpenIdProviderMetadata
- All Superinterfaces:
io.micronaut.core.naming.Named
- All Known Implementing Classes:
DefaultOpenIdProviderMetadata
public interface OpenIdProviderMetadata
extends io.micronaut.core.naming.Named
Metadata describing the configuration of OpenID Providers.
- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionacr_values_supported.@NonNull Stringauthorization_endpoint.@Nullable Stringcheck_session_iframe.claims_locales_supported OPTIONAL.@Nullable Booleanclaims_parameter_supported OPTIONAL.claims_supported RECOMMENDED.claim_types_supported OPTIONAL.code_challenge_methods_supported.display_values_supported OPTIONAL.@Nullable Stringend_session_endpoint.grant_types_supported.id_token_encryption_enc_values_supported OPTIONAL.id_token_signing_alg_values_supported REQUIRED.@Nullable String@NonNull Stringissuer.@NonNull Stringjwks_uri.@Nullable Stringop_policy_uri OPTIONAL.@Nullable Stringop_tos_uri.@Nullable Stringregistration_endpoint.request_object_encryption_alg_values_supported OPTIONAL.request_object_encryption_enc_values_supported OPTIONAL.request_object_signing_alg_values_supported.@Nullable Booleanrequest_parameter_supported OPTIONAL.@Nullable Booleanrequest_uri_parameter_supported OPTIONAL.@Nullable Booleanrequire_request_uri_registration OPTIONAL.response_modes_supported.response_types_supported.@Nullable Stringscopes_supported.@Nullable Stringservice_documentation OPTIONAL.subject_types_supported.@NonNull Stringtoken_endpoint.token_endpoint_auth_methods_supported OPTIONAL.token_endpoint_auth_signing_alg_values_supported OPTIONAL.ui_locales_supported OPTIONAL.userinfo_encryption_alg_values_supported.userinfo_encryption_enc_values_supported OPTIONAL.@Nullable Stringuserinfo_endpoint.default SecureEndpointMethods inherited from interface io.micronaut.core.naming.Named
getName
-
Method Details
-
getIssuer
@NonNull String getIssuer()issuer. REQUIRED.- Returns:
- URL using the https scheme with no query or fragment component that the Open ID Provider asserts as its Issuer Identifier.
-
getAuthorizationEndpoint
@NonNull String getAuthorizationEndpoint()authorization_endpoint. REQUIRED.- Returns:
- URL of the Open ID Provider's OAuth 2.0 Authorization Endpoint
-
getTokenEndpoint
@NonNull String getTokenEndpoint()token_endpoint. This is REQUIRED unless only the Implicit Flow is used.- Returns:
- URL of the Open ID Provider's OAuth 2.0 Token Endpoint
-
getUserinfoEndpoint
@Nullable String getUserinfoEndpoint()userinfo_endpoint. RECOMMENDED. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.- Returns:
- URL of the Open ID Provider's UserInfo Endpoint
-
getJwksUri
@NonNull String getJwksUri()jwks_uri. REQUIRED- Returns:
- URL of the Open ID Provider's JSON Web Key Set
-
getRegistrationEndpoint
@Nullable String getRegistrationEndpoint()registration_endpoint. RECOMMENDED- Returns:
- URL of the Open ID Provider's Dynamic Client Registration Endpoint
-
getScopesSupported
-
getResponseTypesSupported
-
getResponseModesSupported
-
getGrantTypesSupported
-
getAcrValuesSupported
-
getSubjectTypesSupported
-
getIdTokenSigningAlgValuesSupported
-
getIdTokenEncryptionEncValuesSupported
-
getUserinfoEncryptionAlgValuesSupported
-
getUserinfoEncryptionEncValuesSupported
-
getRequestObjectSigningAlgValuesSupported
-
getRequestObjectEncryptionAlgValuesSupported
-
getRequestObjectEncryptionEncValuesSupported
-
getTokenEndpointAuthMethodsSupported
-
getTokenEndpointAuthSigningAlgValuesSupported
-
getDisplayValuesSupported
-
getClaimTypesSupported
-
getClaimsSupported
-
getServiceDocumentation
@Nullable String getServiceDocumentation()service_documentation OPTIONAL.- Returns:
- URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider.
-
getClaimsLocalesSupported
-
getUriLocalesSupported
-
getClaimsParameterSupported
@Nullable Boolean getClaimsParameterSupported()claims_parameter_supported OPTIONAL.- Returns:
- Boolean value specifying whether the OP supports use of the claims parameter.
-
getRequestParameterSupported
@Nullable Boolean getRequestParameterSupported()request_parameter_supported OPTIONAL.- Returns:
- Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
-
getRequestUriParameterSupported
@Nullable Boolean getRequestUriParameterSupported()request_uri_parameter_supported OPTIONAL.- Returns:
- Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.
-
getRequireRequestUriRegistration
@Nullable Boolean getRequireRequestUriRegistration()require_request_uri_registration OPTIONAL.- Returns:
- Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. Pre-registration is REQUIRED when the value is true. If omitted, the default value is false.
-
getOpPolicyUri
@Nullable String getOpPolicyUri()op_policy_uri OPTIONAL.- Returns:
- URL that the OpenID Provider provides to the person registering the Client to read about the OP's requirements on how the Relying Party can use the data provided by the OP.
-
getOpTosUri
@Nullable String getOpTosUri()op_tos_uri. OPTIONAL.- Returns:
- URL that the OpenID Provider provides to the person registering the Client to read about OpenID Provider's terms of service.
-
getCodeChallengeMethodsSupported
-
getIntrospectionEndpointAuthMethodsSupported
-
getRevocationEndpointAuthMethodsSupported
-
getIntrospectionEndpoint
@Nullable String getIntrospectionEndpoint()- Returns:
- The fully qualified URL of the server's introspection endpoint defined by OAuth Token Introspection [RFC7662]
- See Also:
-
getRevocationEndpoint
@Nullable String getRevocationEndpoint()- Returns:
- The fully qualified URL of the server's revocation endpoint defined by Oauth Token Revocation.
- See Also:
-
getCheckSessionIframe
@Nullable String getCheckSessionIframe()check_session_iframe. REQUIRED- Returns:
- URL of an OP iframe that supports cross-origin communications for session state information with the RP Client, using the HTML5 postMessage API.
-
getEndSessionEndpoint
@Nullable String getEndSessionEndpoint()end_session_endpoint. REQUIRED- Returns:
- URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.
-
tokenEndpoint
default SecureEndpoint tokenEndpoint() throws io.micronaut.context.exceptions.ConfigurationException- Returns:
- The Token endpoint
- Throws:
io.micronaut.context.exceptions.ConfigurationException- if token endpoint url is not set in configuration- Since:
- 4.10.1
-