public static class DefaultOpenIdProviderMetadata.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
@NonNull public DefaultOpenIdProviderMetadata.Builder authorizationEndpoint(@Nullable java.lang.String authorizationEndpoint)
authorizationEndpoint
- URL of the Open ID Provider's OAuth 2.0 Authorization Endpoint@NonNull public DefaultOpenIdProviderMetadata.Builder idTokenSigningAlgValuesSupported(@NonNull java.util.List<java.lang.String> idTokenSigningAlgValuesSupported)
idTokenSigningAlgValuesSupported
- List of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].@NonNull public DefaultOpenIdProviderMetadata.Builder issuer(@NonNull java.lang.String issuer)
issuer
- URL using the https scheme with no query or fragment component that the Open ID Provider asserts as its Issuer Identifier.@NonNull public DefaultOpenIdProviderMetadata.Builder jwksUri(@NonNull java.lang.String jwksUri)
jwksUri
- URL of the Open ID Provider's JSON Web Key Set@NonNull public DefaultOpenIdProviderMetadata.Builder acrValuesSupported(@NonNull java.util.List<java.lang.String> acrValuesSupported)
acrValuesSupported
- List of the Authentication Context Class References that this OP supports.@NonNull public DefaultOpenIdProviderMetadata.Builder responseTypesSupported(@Nullable java.util.List<java.lang.String> responseTypesSupported)
responseTypesSupported
- List of the OAuth 2.0 response_type values that this Open ID Provider supports.@NonNull public DefaultOpenIdProviderMetadata.Builder responseModesSupported(@Nullable java.util.List<java.lang.String> responseModesSupported)
responseModesSupported
- List of the OAuth 2.0 response_mode values that this Open ID Provider supports.@NonNull public DefaultOpenIdProviderMetadata.Builder scopesSupported(@Nullable java.util.List<java.lang.String> scopesSupported)
scopesSupported
- List of the OAuth 2.0 [RFC6749] scope values that this server supports.@NonNull public DefaultOpenIdProviderMetadata.Builder grantTypesSupported(@Nullable java.util.List<java.lang.String> grantTypesSupported)
grantTypesSupported
- List of the OAuth 2.0 Grant Type values that this Open ID Provider supports.@NonNull public DefaultOpenIdProviderMetadata.Builder subjectTypesSupported(@NonNull java.util.List<java.lang.String> subjectTypesSupported)
subjectTypesSupported
- List of the Subject Identifier types that this OP supports.@NonNull public DefaultOpenIdProviderMetadata.Builder tokenEndpoint(@NonNull java.lang.String tokenEndpoint)
tokenEndpoint
- URL of the Open ID Provider's OAuth 2.0 Token Endpoint@NonNull public DefaultOpenIdProviderMetadata.Builder tokenEndpointAuthMethodsSupported(@Nullable java.util.List<java.lang.String> tokenEndpointAuthMethodsSupported)
tokenEndpointAuthMethodsSupported
- List of Client Authentication methods supported by this Token Endpoint.@NonNull public DefaultOpenIdProviderMetadata.Builder userinfoEndpoint(@Nullable java.lang.String userinfoEndpoint)
userinfoEndpoint
- URL of the Open ID Provider's UserInfo Endpoint@NonNull public DefaultOpenIdProviderMetadata.Builder registrationEndpoint(@Nullable java.lang.String registrationEndpoint)
registrationEndpoint
- URL of the Open ID Provider's Dynamic Client Registration Endpoint@NonNull public DefaultOpenIdProviderMetadata.Builder claimsSupported(@Nullable java.util.List<java.lang.String> claimsSupported)
claimsSupported
- List of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for.@NonNull public DefaultOpenIdProviderMetadata.Builder codeChallengeMethodsSupported(@Nullable java.util.List<java.lang.String> codeChallengeMethodsSupported)
codeChallengeMethodsSupported
- List of the supported transformation methods by the authorisation code verifier for Proof Key for Code Exchange (PKCE).@NonNull public DefaultOpenIdProviderMetadata.Builder introspectionEndpoint(@Nullable java.lang.String introspectionEndpoint)
introspectionEndpoint
- The fully qualified URL of the server's introspection endpoint defined by OAuth Token Introspection [RFC7662]@NonNull public DefaultOpenIdProviderMetadata.Builder introspectionEndpointAuthMethodsSupported(@Nullable java.util.List<java.lang.String> introspectionEndpointAuthMethodsSupported)
introspectionEndpointAuthMethodsSupported
- List of Client Authentication methods supported by Introspection Endpoint@NonNull public DefaultOpenIdProviderMetadata.Builder revocationEndpoint(@Nullable java.lang.String revocationEndpoint)
revocationEndpoint
- The fully qualified URL of the server's revocation endpoint defined by Oauth Token Revocation.@NonNull public DefaultOpenIdProviderMetadata.Builder revocationEndpointAuthMethodsSupported(@Nullable java.util.List<java.lang.String> revocationEndpointAuthMethodsSupported)
revocationEndpointAuthMethodsSupported
- List of Client Authentication methods supported by Revocation Endpoint@NonNull public DefaultOpenIdProviderMetadata.Builder endSessionEndpoint(@Nullable java.lang.String endSessionEndpoint)
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.@NonNull public DefaultOpenIdProviderMetadata.Builder requestParameterSupported(@Nullable java.lang.Boolean requestParameterSupported)
requestParameterSupported
- Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.@NonNull public DefaultOpenIdProviderMetadata.Builder requestUriParameterSupported(@Nullable java.lang.Boolean requestUriParameterSupported)
requestUriParameterSupported
- Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.@NonNull public DefaultOpenIdProviderMetadata.Builder requireRequestUriRegistration(@Nullable java.lang.Boolean requireRequestUriRegistration)
requireRequestUriRegistration
- 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.@NonNull public DefaultOpenIdProviderMetadata.Builder requestObjectSigningAlgValuesSupported(@Nullable java.util.List<java.lang.String> requestObjectSigningAlgValuesSupported)
requestObjectSigningAlgValuesSupported
- List of the JWS signing algorithms (alg values) supported by the OP for Request Objects.@NonNull public DefaultOpenIdProviderMetadata.Builder serviceDocumentation(@Nullable java.lang.String serviceDocumentation)
serviceDocumentation
- URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider.@NonNull public DefaultOpenIdProviderMetadata.Builder idTokenEncryptionEncValuesSupported(@Nullable java.util.List<java.lang.String> idTokenEncryptionEncValuesSupported)
idTokenEncryptionEncValuesSupported
- List of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].@NonNull public DefaultOpenIdProviderMetadata.Builder displayValuesSupported(@Nullable java.util.List<java.lang.String> displayValuesSupported)
displayValuesSupported
- List of the display parameter values that the OpenID Provider supports.@NonNull public DefaultOpenIdProviderMetadata.Builder claimTypesSupported(@Nullable java.util.List<java.lang.String> claimTypesSupported)
claimTypesSupported
- List of the Claim Types that the OpenID Provider supports.@NonNull public DefaultOpenIdProviderMetadata.Builder claimsParameterSupported(@NonNull java.lang.Boolean claimsParameterSupported)
claimsParameterSupported
- Boolean value specifying whether the OP supports use of the claims parameter.@NonNull public DefaultOpenIdProviderMetadata.Builder opTosUri(@Nullable java.lang.String opTosUri)
opTosUri
- URL that the OpenID Provider provides to the person registering the Client to read about OpenID Provider's terms of service.@NonNull public DefaultOpenIdProviderMetadata.Builder opPolicyUri(@Nullable java.lang.String opPolicyUri)
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.@NonNull public DefaultOpenIdProviderMetadata.Builder uriLocalesSupported(@Nullable java.util.List<java.lang.String> uriLocalesSupported)
uriLocalesSupported
- Languages and scripts supported for the user interface@NonNull public DefaultOpenIdProviderMetadata.Builder claimsLocalesSupported(@Nullable java.util.List<java.lang.String> claimsLocalesSupported)
claimsLocalesSupported
- Languages and scripts supported for values in Claims@NonNull public DefaultOpenIdProviderMetadata.Builder userinfoEncryptionAlgValuesSupported(@Nullable java.util.List<java.lang.String> userinfoEncryptionAlgValuesSupported)
userinfoEncryptionAlgValuesSupported
- List of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].@NonNull public DefaultOpenIdProviderMetadata.Builder userinfoEncryptionEncValuesSupported(@Nullable java.util.List<java.lang.String> userinfoEncryptionEncValuesSupported)
userinfoEncryptionEncValuesSupported
- List of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].@NonNull public DefaultOpenIdProviderMetadata.Builder tokenEndpointAuthSigningAlgValuesSupported(@Nullable java.util.List<java.lang.String> tokenEndpointAuthSigningAlgValuesSupported)
tokenEndpointAuthSigningAlgValuesSupported
- List of the JWS signing algorithms (alg values) supported by the Token Endpoint.@NonNull public DefaultOpenIdProviderMetadata.Builder requestObjectEncryptionAlgValuesSupported(@Nullable java.util.List<java.lang.String> requestObjectEncryptionAlgValuesSupported)
requestObjectEncryptionAlgValuesSupported
- list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects.@NonNull public DefaultOpenIdProviderMetadata.Builder requestObjectEncryptionEncValuesSupported(@Nullable java.util.List<java.lang.String> requestObjectEncryptionEncValuesSupported)
requestObjectEncryptionEncValuesSupported
- List of the JWE encryption algorithms (enc values) supported by the OP for Request Objects.@NonNull public DefaultOpenIdProviderMetadata.Builder checkSessionIframe(@Nullable java.lang.String checkSessionIframe)
checkSessionIframe
- URL of an OP iframe that supports cross-origin communications for session state information with the RP Client, using the HTML5 postMessage API.@NonNull public DefaultOpenIdProviderMetadata build()
DefaultOpenIdProviderMetadata
instance.