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
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.DefaultOpenIdProviderMetadata
(@NonNull String providerName) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull DefaultOpenIdProviderMetadata.Builder
builder()
Deprecated, for removal: This API element is subject to removal in a future version.static @NonNull DefaultOpenIdProviderMetadata.Builder
boolean
acr_values_supported.@NonNull String
authorization_endpoint.@Nullable String
check_session_iframe.claims_locales_supported OPTIONAL.@Nullable Boolean
claims_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 Boolean
display_values_supported OPTIONAL.@Nullable String
end_session_endpoint.grant_types_supported.id_token_encryption_enc_values_supported OPTIONAL.id_token_signing_alg_values_supported REQUIRED.@Nullable String
@NonNull String
issuer.@NonNull String
jwks_uri.@NonNull String
getName()
@Nullable String
op_policy_uri OPTIONAL.@Nullable String
op_tos_uri.@Nullable String
registration_endpoint.request_object_encryption_alg_values_supported OPTIONAL.request_object_encryption_enc_values_supported OPTIONAL.request_object_signing_alg_values_supported.@Nullable Boolean
request_parameter_supported OPTIONAL.@Nullable Boolean
request_uri_parameter_supported OPTIONAL.@Nullable Boolean
require_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 String
scopes_supported.@Nullable String
service_documentation OPTIONAL.subject_types_supported.@NonNull String
token_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 String
userinfo_endpoint.int
hashCode()
void
setAcrValuesSupported
(@Nullable List<String> acrValuesSupported) void
setAuthorizationEndpoint
(@NonNull String authorizationEndpoint) void
setCheckSessionIframe
(@Nullable String checkSessionIframe) void
setClaimsLocalesSupported
(@Nullable List<String> claimsLocalesSupported) void
setClaimsParameterSupported
(@Nullable Boolean claimsParameterSupported) void
setClaimsSupported
(@Nullable List<String> claimsSupported) void
setClaimTypesSupported
(@Nullable List<String> claimTypesSupported) void
setCodeChallengeMethodsSupported
(@Nullable List<String> codeChallengeMethodsSupported) void
setDisplayValuesSupported
(@Nullable List<String> displayValuesSupported) void
setEndSessionEndpoint
(@Nullable String endSessionEndpoint) void
setGrantTypesSupported
(@Nullable List<String> grantTypesSupported) void
setIdTokenEncryptionEncValuesSupported
(@Nullable List<String> idTokenEncryptionEncValuesSupported) void
setIdTokenSigningAlgValuesSupported
(@NonNull List<String> idTokenSigningAlgValuesSupported) void
setIntrospectionEndpoint
(@Nullable String introspectionEndpoint) void
setIntrospectionEndpointAuthMethodsSupported
(@Nullable List<String> introspectionEndpointAuthMethodsSupported) void
void
setJwksUri
(@NonNull String jwksUri) void
void
setOpPolicyUri
(@Nullable String opPolicyUri) void
setOpTosUri
(@Nullable String opTosUri) void
setRegistrationEndpoint
(@Nullable String registrationEndpoint) void
setRequestObjectEncryptionAlgValuesSupported
(@Nullable List<String> requestObjectEncryptionAlgValuesSupported) void
setRequestObjectEncryptionEncValuesSupported
(@Nullable List<String> requestObjectEncryptionEncValuesSupported) void
setRequestObjectSigningAlgValuesSupported
(@Nullable List<String> requestObjectSigningAlgValuesSupported) void
setRequestParameterSupported
(@Nullable Boolean requestParameterSupported) void
setRequestUriParameterSupported
(@Nullable Boolean requestUriParameterSupported) void
setRequireRequestUriRegistration
(@Nullable Boolean requireRequestUriRegistration) void
setResponseModesSupported
(@Nullable List<String> responseModesSupported) void
setResponseTypesSupported
(@Nullable List<String> responseTypesSupported) void
setRevocationEndpoint
(@Nullable String revocationEndpoint) void
setRevocationEndpointAuthMethodsSupported
(@Nullable List<String> revocationEndpointAuthMethodsSupported) void
setScopesSupported
(@Nullable List<String> scopesSupported) void
setServiceDocumentation
(@Nullable String serviceDocumentation) void
setSubjectTypesSupported
(@NonNull List<String> subjectTypesSupported) void
setTokenEndpoint
(@Nullable String tokenEndpoint) void
setTokenEndpointAuthMethodsSupported
(@Nullable List<String> tokenEndpointAuthMethodsSupported) void
setTokenEndpointAuthSigningAlgValuesSupported
(@Nullable List<String> tokenEndpointAuthSigningAlgValuesSupported) void
setUriLocalesSupported
(@Nullable List<String> uriLocalesSupported) void
setUserinfoEncryptionAlgValuesSupported
(@Nullable List<String> userinfoEncryptionAlgValuesSupported) void
setUserinfoEncryptionEncValuesSupported
(@Nullable List<String> userinfoEncryptionEncValuesSupported) void
setUserinfoEndpoint
(@Nullable String userinfoEndpoint) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.security.oauth2.client.OpenIdProviderMetadata
getTokenEndpointAuthMethods
-
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:
getName
in interfaceio.micronaut.core.naming.Named
-
setName
- Parameters:
name
- The configured provider name
-
getRequireRequestUriRegistration
Description copied from interface:OpenIdProviderMetadata
require_request_uri_registration OPTIONAL.- Specified by:
getRequireRequestUriRegistration
in 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:OpenIdProviderMetadata
authorization_endpoint. REQUIRED.- Specified by:
getAuthorizationEndpoint
in 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:OpenIdProviderMetadata
id_token_signing_alg_values_supported REQUIRED.- Specified by:
getIdTokenSigningAlgValuesSupported
in 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:OpenIdProviderMetadata
id_token_encryption_enc_values_supported OPTIONAL.- Specified by:
getIdTokenEncryptionEncValuesSupported
in 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:
getUserInfoEncryptionAlgValuesSupported
in 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:OpenIdProviderMetadata
userinfo_encryption_alg_values_supported. OPTIONAL.- Specified by:
getUserinfoEncryptionAlgValuesSupported
in 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:OpenIdProviderMetadata
userinfo_encryption_enc_values_supported OPTIONAL.- Specified by:
getUserinfoEncryptionEncValuesSupported
in 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:OpenIdProviderMetadata
issuer. REQUIRED.- Specified by:
getIssuer
in 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:OpenIdProviderMetadata
jwks_uri. REQUIRED- Specified by:
getJwksUri
in 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:
getResponseTypesSupported
in 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:OpenIdProviderMetadata
scopes_supported. RECOMMENDED.- Specified by:
getScopesSupported
in 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:OpenIdProviderMetadata
subject_types_supported. REQUIRED- Specified by:
getSubjectTypesSupported
in 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:OpenIdProviderMetadata
token_endpoint. This is REQUIRED unless only the Implicit Flow is used.- Specified by:
getTokenEndpoint
in 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:OpenIdProviderMetadata
token_endpoint_auth_methods_supported OPTIONAL.- Specified by:
getTokenEndpointAuthMethodsSupported
in interfaceOpenIdProviderMetadata
- Returns:
- List of Client Authentication methods supported by this Token Endpoint.
-
getTokenEndpointAuthSigningAlgValuesSupported
Description copied from interface:OpenIdProviderMetadata
token_endpoint_auth_signing_alg_values_supported OPTIONAL.- Specified by:
getTokenEndpointAuthSigningAlgValuesSupported
in 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:OpenIdProviderMetadata
display_values_supported OPTIONAL.- Specified by:
getDisplayValuesSupported
in 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:OpenIdProviderMetadata
claim_types_supported OPTIONAL.- Specified by:
getClaimTypesSupported
in 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:OpenIdProviderMetadata
userinfo_endpoint. RECOMMENDED. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.- Specified by:
getUserinfoEndpoint
in 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:OpenIdProviderMetadata
response_modes_supported. OPTIONAL- Specified by:
getResponseModesSupported
in 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:OpenIdProviderMetadata
grant_types_supported. OPTIONAL- Specified by:
getGrantTypesSupported
in 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:OpenIdProviderMetadata
acr_values_supported. OPTIONAL.- Specified by:
getAcrValuesSupported
in 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:OpenIdProviderMetadata
registration_endpoint. RECOMMENDED- Specified by:
getRegistrationEndpoint
in 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:OpenIdProviderMetadata
claims_supported RECOMMENDED.- Specified by:
getClaimsSupported
in 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:OpenIdProviderMetadata
service_documentation OPTIONAL.- Specified by:
getServiceDocumentation
in 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:OpenIdProviderMetadata
claims_locales_supported OPTIONAL.- Specified by:
getClaimsLocalesSupported
in 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:OpenIdProviderMetadata
ui_locales_supported OPTIONAL.- Specified by:
getUriLocalesSupported
in 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:OpenIdProviderMetadata
claims_parameter_supported OPTIONAL.- Specified by:
getClaimsParameterSupported
in 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:OpenIdProviderMetadata
code_challenge_methods_supported.- Specified by:
getCodeChallengeMethodsSupported
in 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:
getIntrospectionEndpoint
in 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:
getIntrospectionEndpointAuthMethodsSupported
in 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:
getRevocationEndpoint
in 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:
getRevocationEndpointAuthMethodsSupported
in 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:OpenIdProviderMetadata
check_session_iframe. REQUIRED- Specified by:
getCheckSessionIframe
in 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:OpenIdProviderMetadata
end_session_endpoint. REQUIRED- Specified by:
getEndSessionEndpoint
in 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:OpenIdProviderMetadata
request_parameter_supported OPTIONAL.- Specified by:
getRequestParameterSupported
in 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:OpenIdProviderMetadata
request_uri_parameter_supported OPTIONAL.- Specified by:
getRequestUriParameterSupported
in 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:OpenIdProviderMetadata
op_policy_uri OPTIONAL.- Specified by:
getOpPolicyUri
in 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:OpenIdProviderMetadata
op_tos_uri. OPTIONAL.- Specified by:
getOpTosUri
in 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:OpenIdProviderMetadata
request_object_signing_alg_values_supported. OPTIONAL- Specified by:
getRequestObjectSigningAlgValuesSupported
in interfaceOpenIdProviderMetadata
- Returns:
- List of the JWS signing algorithms (alg values) supported by the OP for Request Objects.
-
getRequestObjectEncryptionAlgValuesSupported
Description copied from interface:OpenIdProviderMetadata
request_object_encryption_alg_values_supported OPTIONAL.- Specified by:
getRequestObjectEncryptionAlgValuesSupported
in 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:OpenIdProviderMetadata
request_object_encryption_enc_values_supported OPTIONAL.- Specified by:
getRequestObjectEncryptionEncValuesSupported
in 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.