Class DefaultOpenIdProviderMetadata
java.lang.Object
io.micronaut.security.oauth2.client.DefaultOpenIdProviderMetadata
- All Implemented Interfaces:
io.micronaut.core.naming.Named,OpenIdProviderMetadata
- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.DefaultOpenIdProviderMetadata(@NonNull String providerName) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull DefaultOpenIdProviderMetadata.Builderbuilder()Deprecated, for removal: This API element is subject to removal in a future version.static @NonNull DefaultOpenIdProviderMetadata.Builderbooleanacr_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.As specified in Open ID Discovery Spec, if omitted, the default value is ["authorization_code", "implicit"].@NonNull Boolean@NonNull Boolean@Nullable Booleandisplay_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.@NonNull StringgetName()@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.As specified in Open ID Discovery Spec, if omitted, the default for Dynamic OpenID Providers is ["query", "fragment"].@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.Deprecated.UsegetUserinfoEncryptionAlgValuesSupported()instead.userinfo_encryption_enc_values_supported OPTIONAL.@Nullable Stringuserinfo_endpoint.inthashCode()voidsetAcrValuesSupported(@Nullable List<String> acrValuesSupported) voidsetAuthorizationEndpoint(@NonNull String authorizationEndpoint) voidsetCheckSessionIframe(@Nullable String checkSessionIframe) voidsetClaimsLocalesSupported(@Nullable List<String> claimsLocalesSupported) voidsetClaimsParameterSupported(@Nullable Boolean claimsParameterSupported) voidsetClaimsSupported(@Nullable List<String> claimsSupported) voidsetClaimTypesSupported(@Nullable List<String> claimTypesSupported) voidsetCodeChallengeMethodsSupported(@Nullable List<String> codeChallengeMethodsSupported) voidsetDisplayValuesSupported(@Nullable List<String> displayValuesSupported) voidsetEndSessionEndpoint(@Nullable String endSessionEndpoint) voidsetGrantTypesSupported(@Nullable List<String> grantTypesSupported) voidsetIdTokenEncryptionEncValuesSupported(@Nullable List<String> idTokenEncryptionEncValuesSupported) voidsetIdTokenSigningAlgValuesSupported(@NonNull List<String> idTokenSigningAlgValuesSupported) voidsetIntrospectionEndpoint(@Nullable String introspectionEndpoint) voidsetIntrospectionEndpointAuthMethodsSupported(@Nullable List<String> introspectionEndpointAuthMethodsSupported) voidvoidsetJwksUri(@NonNull String jwksUri) voidvoidsetOpPolicyUri(@Nullable String opPolicyUri) voidsetOpTosUri(@Nullable String opTosUri) voidsetRegistrationEndpoint(@Nullable String registrationEndpoint) voidsetRequestObjectEncryptionAlgValuesSupported(@Nullable List<String> requestObjectEncryptionAlgValuesSupported) voidsetRequestObjectEncryptionEncValuesSupported(@Nullable List<String> requestObjectEncryptionEncValuesSupported) voidsetRequestObjectSigningAlgValuesSupported(@Nullable List<String> requestObjectSigningAlgValuesSupported) voidsetRequestParameterSupported(@Nullable Boolean requestParameterSupported) voidsetRequestUriParameterSupported(@Nullable Boolean requestUriParameterSupported) voidsetRequireRequestUriRegistration(@Nullable Boolean requireRequestUriRegistration) voidsetResponseModesSupported(@Nullable List<String> responseModesSupported) voidsetResponseTypesSupported(@Nullable List<String> responseTypesSupported) voidsetRevocationEndpoint(@Nullable String revocationEndpoint) voidsetRevocationEndpointAuthMethodsSupported(@Nullable List<String> revocationEndpointAuthMethodsSupported) voidsetScopesSupported(@Nullable List<String> scopesSupported) voidsetServiceDocumentation(@Nullable String serviceDocumentation) voidsetSubjectTypesSupported(@NonNull List<String> subjectTypesSupported) voidsetTokenEndpoint(@Nullable String tokenEndpoint) voidsetTokenEndpointAuthMethodsSupported(@Nullable List<String> tokenEndpointAuthMethodsSupported) voidsetTokenEndpointAuthSigningAlgValuesSupported(@Nullable List<String> tokenEndpointAuthSigningAlgValuesSupported) voidsetUriLocalesSupported(@Nullable List<String> uriLocalesSupported) voidsetUserinfoEncryptionAlgValuesSupported(@Nullable List<String> userinfoEncryptionAlgValuesSupported) voidsetUserinfoEncryptionEncValuesSupported(@Nullable List<String> userinfoEncryptionEncValuesSupported) voidsetUserinfoEndpoint(@Nullable String userinfoEndpoint) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.security.oauth2.client.OpenIdProviderMetadata
getTokenEndpointAuthMethods, tokenEndpoint
-
Constructor Details
-
DefaultOpenIdProviderMetadata
Deprecated, for removal: This API element is subject to removal in a future version. -
DefaultOpenIdProviderMetadata
- Parameters:
providerName- Provider Name
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.micronaut.core.naming.Named
-
setName
- Parameters:
name- The configured provider name
-
getRequireRequestUriRegistration
Description copied from interface:OpenIdProviderMetadatarequire_request_uri_registration OPTIONAL.- Specified by:
getRequireRequestUriRegistrationin interfaceOpenIdProviderMetadata- Returns:
- Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter.
-
getDefaultRequireRequestUriRegistration
- Returns:
- If require_request_uri_registration omitted, the default value is false.
-
setRequireRequestUriRegistration
public void setRequireRequestUriRegistration(@Nullable @Nullable Boolean requireRequestUriRegistration) - Parameters:
requireRequestUriRegistration- Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter.
-
getAuthorizationEndpoint
Description copied from interface:OpenIdProviderMetadataauthorization_endpoint. REQUIRED.- Specified by:
getAuthorizationEndpointin interfaceOpenIdProviderMetadata- Returns:
- URL of the Open ID Provider's OAuth 2.0 Authorization Endpoint
-
setAuthorizationEndpoint
- Parameters:
authorizationEndpoint- URL of the Open ID Provider's OAuth 2.0 Authorization Endpoint.
-
setUserinfoEncryptionEncValuesSupported
public void setUserinfoEncryptionEncValuesSupported(@Nullable @Nullable List<String> userinfoEncryptionEncValuesSupported) - Parameters:
userinfoEncryptionEncValuesSupported- List of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT.
-
getIdTokenSigningAlgValuesSupported
Description copied from interface:OpenIdProviderMetadataid_token_signing_alg_values_supported REQUIRED.- Specified by:
getIdTokenSigningAlgValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].
-
getIdTokenEncryptionEncValuesSupported
Description copied from interface:OpenIdProviderMetadataid_token_encryption_enc_values_supported OPTIONAL.- Specified by:
getIdTokenEncryptionEncValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].
-
setIdTokenEncryptionEncValuesSupported
public void setIdTokenEncryptionEncValuesSupported(@Nullable @Nullable List<String> idTokenEncryptionEncValuesSupported) - Parameters:
idTokenEncryptionEncValuesSupported- List of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT.
-
getUserInfoEncryptionAlgValuesSupported
Deprecated.UsegetUserinfoEncryptionAlgValuesSupported()instead.userinfo_encryption_alg_values_supported. OPTIONAL.- Specified by:
getUserInfoEncryptionAlgValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
-
getUserinfoEncryptionAlgValuesSupported
Description copied from interface:OpenIdProviderMetadatauserinfo_encryption_alg_values_supported. OPTIONAL.- Specified by:
getUserinfoEncryptionAlgValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
-
setUserinfoEncryptionAlgValuesSupported
public void setUserinfoEncryptionAlgValuesSupported(@Nullable @Nullable List<String> userinfoEncryptionAlgValuesSupported) - Parameters:
userinfoEncryptionAlgValuesSupported- List of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT.
-
getUserinfoEncryptionEncValuesSupported
Description copied from interface:OpenIdProviderMetadatauserinfo_encryption_enc_values_supported OPTIONAL.- Specified by:
getUserinfoEncryptionEncValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
-
setIdTokenSigningAlgValuesSupported
public void setIdTokenSigningAlgValuesSupported(@NonNull @NonNull List<String> idTokenSigningAlgValuesSupported) - Parameters:
idTokenSigningAlgValuesSupported- List of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT.
-
getIssuer
Description copied from interface:OpenIdProviderMetadataissuer. REQUIRED.- Specified by:
getIssuerin interfaceOpenIdProviderMetadata- Returns:
- URL using the https scheme with no query or fragment component that the Open ID Provider asserts as its Issuer Identifier.
-
setIssuer
- Parameters:
issuer- URL using the https scheme with no query or fragment component that the Open ID Provider asserts as its Issuer Identifier.
-
getJwksUri
Description copied from interface:OpenIdProviderMetadatajwks_uri. REQUIRED- Specified by:
getJwksUriin interfaceOpenIdProviderMetadata- Returns:
- URL of the Open ID Provider's JSON Web Key Set
-
setJwksUri
- Parameters:
jwksUri- URL of the Open ID Provider's JSON Web Key Set.
-
getResponseTypesSupported
As specified in Open ID Discovery Spec, if omitted, the default for Dynamic OpenID Providers is ["query", "fragment"].- Specified by:
getResponseTypesSupportedin interfaceOpenIdProviderMetadata- Returns:
- Supported response types.
-
getDefaultResponseTypesSupported
- Returns:
- if Response Types Supported is ommited, default for Dynamic OpenID Providers is ["query", "fragment"].
-
setResponseTypesSupported
- Parameters:
responseTypesSupported- List of the OAuth 2.0 response_type values that this Open ID Provider supports.
-
getScopesSupported
Description copied from interface:OpenIdProviderMetadatascopes_supported. RECOMMENDED.- Specified by:
getScopesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the OAuth 2.0 [RFC6749] scope values that this server supports.
-
setScopesSupported
- Parameters:
scopesSupported- List of the OAuth 2.0 [RFC6749] scope values that this server supports.
-
getSubjectTypesSupported
Description copied from interface:OpenIdProviderMetadatasubject_types_supported. REQUIRED- Specified by:
getSubjectTypesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the Subject Identifier types that this OP supports.
-
setSubjectTypesSupported
- Parameters:
subjectTypesSupported- List of the Subject Identifier types that this OP supports.
-
getTokenEndpoint
Description copied from interface:OpenIdProviderMetadatatoken_endpoint. This is REQUIRED unless only the Implicit Flow is used.- Specified by:
getTokenEndpointin interfaceOpenIdProviderMetadata- Returns:
- URL of the Open ID Provider's OAuth 2.0 Token Endpoint
-
setTokenEndpoint
- Parameters:
tokenEndpoint- URL of the Open ID Provider's OAuth 2.0 Token Endpoint.
-
getTokenEndpointAuthMethodsSupported
Description copied from interface:OpenIdProviderMetadatatoken_endpoint_auth_methods_supported OPTIONAL.- Specified by:
getTokenEndpointAuthMethodsSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of Client Authentication methods supported by this Token Endpoint.
-
getTokenEndpointAuthSigningAlgValuesSupported
Description copied from interface:OpenIdProviderMetadatatoken_endpoint_auth_signing_alg_values_supported OPTIONAL.- Specified by:
getTokenEndpointAuthSigningAlgValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWS signing algorithms (alg values) supported by the Token Endpoint.
-
setTokenEndpointAuthSigningAlgValuesSupported
public void setTokenEndpointAuthSigningAlgValuesSupported(@Nullable @Nullable List<String> tokenEndpointAuthSigningAlgValuesSupported) - Parameters:
tokenEndpointAuthSigningAlgValuesSupported- List of the JWS signing algorithms (alg values) supported by the Token Endpoint.
-
getDisplayValuesSupported
Description copied from interface:OpenIdProviderMetadatadisplay_values_supported OPTIONAL.- Specified by:
getDisplayValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the display parameter values that the OpenID Provider supports.
-
setDisplayValuesSupported
- Parameters:
displayValuesSupported- List of the display parameter values that the OpenID Provider supports.
-
getClaimTypesSupported
Description copied from interface:OpenIdProviderMetadataclaim_types_supported OPTIONAL.- Specified by:
getClaimTypesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the Claim Types that the OpenID Provider supports.
-
setClaimTypesSupported
- Parameters:
claimTypesSupported- List of the Claim Types that the OpenID Provider supports.
-
setTokenEndpointAuthMethodsSupported
public void setTokenEndpointAuthMethodsSupported(@Nullable @Nullable List<String> tokenEndpointAuthMethodsSupported) - Parameters:
tokenEndpointAuthMethodsSupported- List of Client Authentication methods supported by this Token Endpoint.
-
getUserinfoEndpoint
Description copied from interface:OpenIdProviderMetadatauserinfo_endpoint. RECOMMENDED. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.- Specified by:
getUserinfoEndpointin interfaceOpenIdProviderMetadata- Returns:
- URL of the Open ID Provider's UserInfo Endpoint
-
setUserinfoEndpoint
- Parameters:
userinfoEndpoint- URL of the Open ID Provider's UserInfo Endpoint.
-
getResponseModesSupported
Description copied from interface:OpenIdProviderMetadataresponse_modes_supported. OPTIONAL- Specified by:
getResponseModesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the OAuth 2.0 response_mode values that this Open ID Provider supports.
-
setResponseModesSupported
- Parameters:
responseModesSupported- List of the OAuth 2.0 response_mode values that this Open ID Provider supports.
-
getGrantTypesSupported
Description copied from interface:OpenIdProviderMetadatagrant_types_supported. OPTIONAL- Specified by:
getGrantTypesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the OAuth 2.0 Grant Type values that this Open ID Provider supports.
-
getDefaultGrantTypesSupported
As specified in Open ID Discovery Spec, if omitted, the default value is ["authorization_code", "implicit"].- Returns:
- Default Grant Types if grantTypesSupported is ommited.
-
getAcrValuesSupported
Description copied from interface:OpenIdProviderMetadataacr_values_supported. OPTIONAL.- Specified by:
getAcrValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the Authentication Context Class References that this OP supports.
-
setAcrValuesSupported
- Parameters:
acrValuesSupported- List of the Authentication Context Class References that this OP supports.
-
setGrantTypesSupported
- Parameters:
grantTypesSupported- List of the OAuth 2.0 Grant Type values that this Open ID Provider supports.
-
getRegistrationEndpoint
Description copied from interface:OpenIdProviderMetadataregistration_endpoint. RECOMMENDED- Specified by:
getRegistrationEndpointin interfaceOpenIdProviderMetadata- Returns:
- URL of the Open ID Provider's Dynamic Client Registration Endpoint
-
setRegistrationEndpoint
- Parameters:
registrationEndpoint- URL of the Open ID Provider's Dynamic Client Registration Endpoint.
-
getClaimsSupported
Description copied from interface:OpenIdProviderMetadataclaims_supported RECOMMENDED.- Specified by:
getClaimsSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for.
-
getServiceDocumentation
Description copied from interface:OpenIdProviderMetadataservice_documentation OPTIONAL.- Specified by:
getServiceDocumentationin interfaceOpenIdProviderMetadata- Returns:
- URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider.
-
setServiceDocumentation
- Parameters:
serviceDocumentation- URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider.
-
getClaimsLocalesSupported
Description copied from interface:OpenIdProviderMetadataclaims_locales_supported OPTIONAL.- Specified by:
getClaimsLocalesSupportedin interfaceOpenIdProviderMetadata- Returns:
- Languages and scripts supported for values in Claims
-
setClaimsLocalesSupported
- Parameters:
claimsLocalesSupported- Languages and scripts supported for values in Claims.
-
getUriLocalesSupported
Description copied from interface:OpenIdProviderMetadataui_locales_supported OPTIONAL.- Specified by:
getUriLocalesSupportedin interfaceOpenIdProviderMetadata- Returns:
- Languages and scripts supported for the user interface
-
setUriLocalesSupported
- Parameters:
uriLocalesSupported- Languages and scripts supported for the user interface.
-
getClaimsParameterSupported
Description copied from interface:OpenIdProviderMetadataclaims_parameter_supported OPTIONAL.- Specified by:
getClaimsParameterSupportedin interfaceOpenIdProviderMetadata- Returns:
- Boolean value specifying whether the OP supports use of the claims parameter.
-
setClaimsParameterSupported
- Parameters:
claimsParameterSupported- Boolean value specifying whether the OP supports use of the claims parameter.
-
setClaimsSupported
- Parameters:
claimsSupported- List of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for.
-
getCodeChallengeMethodsSupported
Description copied from interface:OpenIdProviderMetadatacode_challenge_methods_supported.- Specified by:
getCodeChallengeMethodsSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the supported transformation methods by the authorisation code verifier for Proof Key for Code Exchange (PKCE).
-
setCodeChallengeMethodsSupported
public void setCodeChallengeMethodsSupported(@Nullable @Nullable List<String> codeChallengeMethodsSupported) - Parameters:
codeChallengeMethodsSupported- List of the supported transformation methods by the authorisation code verifier for Proof Key for Code Exchange (PKCE).
-
getIntrospectionEndpoint
- Specified by:
getIntrospectionEndpointin interfaceOpenIdProviderMetadata- Returns:
- The fully qualified URL of the server's introspection endpoint defined by OAuth Token Introspection [RFC7662]
- See Also:
-
setIntrospectionEndpoint
- Parameters:
introspectionEndpoint- The fully qualified URL of the server's introspection endpoint defined by OAuth Token Introspection [RFC7662].
-
getIntrospectionEndpointAuthMethodsSupported
- Specified by:
getIntrospectionEndpointAuthMethodsSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of Client Authentication methods supported by Introspection Endpoint
-
setIntrospectionEndpointAuthMethodsSupported
public void setIntrospectionEndpointAuthMethodsSupported(@Nullable @Nullable List<String> introspectionEndpointAuthMethodsSupported) - Parameters:
introspectionEndpointAuthMethodsSupported- List of Client Authentication methods supported by Introspection Endpoint.
-
getRevocationEndpoint
- Specified by:
getRevocationEndpointin interfaceOpenIdProviderMetadata- Returns:
- The fully qualified URL of the server's revocation endpoint defined by Oauth Token Revocation.
- See Also:
-
setRevocationEndpoint
- Parameters:
revocationEndpoint- The fully qualified URL of the server's revocation endpoint defined by Oauth Token Revocation.
-
getRevocationEndpointAuthMethodsSupported
- Specified by:
getRevocationEndpointAuthMethodsSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of Client Authentication methods supported by Revocation Endpoint
-
setRevocationEndpointAuthMethodsSupported
public void setRevocationEndpointAuthMethodsSupported(@Nullable @Nullable List<String> revocationEndpointAuthMethodsSupported) - Parameters:
revocationEndpointAuthMethodsSupported- List of Client Authentication methods supported by Revocation Endpoint.
-
setCheckSessionIframe
- Parameters:
checkSessionIframe- URL of an OP iframe that supports cross-origin communications for session state information with the RP Client, using the HTML5 postMessage API.
-
getCheckSessionIframe
Description copied from interface:OpenIdProviderMetadatacheck_session_iframe. REQUIRED- Specified by:
getCheckSessionIframein interfaceOpenIdProviderMetadata- 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
Description copied from interface:OpenIdProviderMetadataend_session_endpoint. REQUIRED- Specified by:
getEndSessionEndpointin interfaceOpenIdProviderMetadata- 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.
-
setEndSessionEndpoint
- Parameters:
endSessionEndpoint- URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.
-
getRequestParameterSupported
Description copied from interface:OpenIdProviderMetadatarequest_parameter_supported OPTIONAL.- Specified by:
getRequestParameterSupportedin interfaceOpenIdProviderMetadata- Returns:
- Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
-
getDefaultRequestParameterSupported
- Returns:
- As per spec, If requestParameterSupported omitted, the default value is false.
-
getRequestUriParameterSupported
Description copied from interface:OpenIdProviderMetadatarequest_uri_parameter_supported OPTIONAL.- Specified by:
getRequestUriParameterSupportedin interfaceOpenIdProviderMetadata- Returns:
- Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.
-
getDefaultRequestUriParameterSupported
- Returns:
- As per spec, If requestUriParameterSupported omitted, the default value is false.
-
setRequestUriParameterSupported
public void setRequestUriParameterSupported(@Nullable @Nullable Boolean requestUriParameterSupported) - Parameters:
requestUriParameterSupported- Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter.
-
getOpPolicyUri
Description copied from interface:OpenIdProviderMetadataop_policy_uri OPTIONAL.- Specified by:
getOpPolicyUriin interfaceOpenIdProviderMetadata- 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.
-
setOpPolicyUri
- Parameters:
opPolicyUri- 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
Description copied from interface:OpenIdProviderMetadataop_tos_uri. OPTIONAL.- Specified by:
getOpTosUriin interfaceOpenIdProviderMetadata- Returns:
- URL that the OpenID Provider provides to the person registering the Client to read about OpenID Provider's terms of service.
-
setOpTosUri
- Parameters:
opTosUri- URL that the OpenID Provider provides to the person registering the Client to read about OpenID Provider's terms of service.
-
setRequestParameterSupported
- Parameters:
requestParameterSupported- Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
-
getRequestObjectSigningAlgValuesSupported
Description copied from interface:OpenIdProviderMetadatarequest_object_signing_alg_values_supported. OPTIONAL- Specified by:
getRequestObjectSigningAlgValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWS signing algorithms (alg values) supported by the OP for Request Objects.
-
getRequestObjectEncryptionAlgValuesSupported
Description copied from interface:OpenIdProviderMetadatarequest_object_encryption_alg_values_supported OPTIONAL.- Specified by:
getRequestObjectEncryptionAlgValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects.
-
setRequestObjectEncryptionAlgValuesSupported
public void setRequestObjectEncryptionAlgValuesSupported(@Nullable @Nullable List<String> requestObjectEncryptionAlgValuesSupported) - Parameters:
requestObjectEncryptionAlgValuesSupported- List of the JWE encryption algorithms (alg values) supported by the OP for Request Objects.
-
getRequestObjectEncryptionEncValuesSupported
Description copied from interface:OpenIdProviderMetadatarequest_object_encryption_enc_values_supported OPTIONAL.- Specified by:
getRequestObjectEncryptionEncValuesSupportedin interfaceOpenIdProviderMetadata- Returns:
- List of the JWE encryption algorithms (enc values) supported by the OP for Request Objects.
-
setRequestObjectEncryptionEncValuesSupported
public void setRequestObjectEncryptionEncValuesSupported(@Nullable @Nullable List<String> requestObjectEncryptionEncValuesSupported) - Parameters:
requestObjectEncryptionEncValuesSupported- List of the JWE encryption algorithms (enc values) supported by the OP for Request Objects.
-
setRequestObjectSigningAlgValuesSupported
public void setRequestObjectSigningAlgValuesSupported(@Nullable @Nullable List<String> requestObjectSigningAlgValuesSupported) - Parameters:
requestObjectSigningAlgValuesSupported- List of the JWS signing algorithms (alg values) supported by the OP for Request Objects.
-
equals
-
hashCode
public int hashCode() -
builder
@Deprecated(forRemoval=true, since="4.5.0") @NonNull public static @NonNull DefaultOpenIdProviderMetadata.Builder builder()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Creates a Builder.
-
builder
- Parameters:
providerName- Provider Name- Returns:
- Creates a Builder with a given provider name.
-
DefaultOpenIdProviderMetadata(@io.micronaut.core.annotation.NonNull java.lang.String)instead.