Class OAuth2AuthorizationServerMetadata.Builder
java.lang.Object
org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<OAuth2AuthorizationServerMetadata,OAuth2AuthorizationServerMetadata.Builder>
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadata.Builder
- Enclosing class:
- OAuth2AuthorizationServerMetadata
public static final class OAuth2AuthorizationServerMetadata.Builder
extends AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<OAuth2AuthorizationServerMetadata,OAuth2AuthorizationServerMetadata.Builder>
Helps configure an
OAuth2AuthorizationServerMetadata
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Validate the claims and build theOAuth2AuthorizationServerMetadata
.Methods inherited from class org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder
authorizationEndpoint, claim, claims, clientRegistrationEndpoint, codeChallengeMethod, codeChallengeMethods, deviceAuthorizationEndpoint, dPoPSigningAlgorithm, dPoPSigningAlgorithms, getClaims, getThis, grantType, grantTypes, issuer, jwkSetUrl, pushedAuthorizationRequestEndpoint, responseType, responseTypes, scope, scopes, tlsClientCertificateBoundAccessTokens, tokenEndpoint, tokenEndpointAuthenticationMethod, tokenEndpointAuthenticationMethods, tokenIntrospectionEndpoint, tokenIntrospectionEndpointAuthenticationMethod, tokenIntrospectionEndpointAuthenticationMethods, tokenRevocationEndpoint, tokenRevocationEndpointAuthenticationMethod, tokenRevocationEndpointAuthenticationMethods, validate, validateURL
-
Method Details
-
build
Validate the claims and build theOAuth2AuthorizationServerMetadata
.The following claims are REQUIRED:
issuer
,authorization_endpoint
,token_endpoint
andresponse_types_supported
.
-