Class AuthorizationServerSettings
java.lang.Object
org.springframework.security.oauth2.server.authorization.settings.AbstractSettings
org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettings
- All Implemented Interfaces:
Serializable
A facility for authorization server configuration settings.
- Since:
- 0.1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.security.oauth2.server.authorization.settings.AbstractSettings
AbstractSettings.AbstractBuilder<T extends AbstractSettings,
B extends AbstractSettings.AbstractBuilder<T, B>> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Constructs a newAuthorizationServerSettings.Builder
with the default settings.Returns the OAuth 2.0 Authorization endpoint.Returns the URL of the Authorization Server's Issuer IdentifierReturns the JWK Set endpoint.Returns the OpenID Connect 1.0 Client Registration endpoint.Returns the OpenID Connect 1.0 UserInfo endpoint.Returns the OAuth 2.0 Token endpoint.Returns the OAuth 2.0 Token Introspection endpoint.Returns the OAuth 2.0 Token Revocation endpoint.withSettings
(Map<String, Object> settings) Constructs a newAuthorizationServerSettings.Builder
with the provided settings.Methods inherited from class org.springframework.security.oauth2.server.authorization.settings.AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Method Details
-
getIssuer
Returns the URL of the Authorization Server's Issuer Identifier- Returns:
- the URL of the Authorization Server's Issuer Identifier
-
getAuthorizationEndpoint
Returns the OAuth 2.0 Authorization endpoint. The default is/oauth2/authorize
.- Returns:
- the Authorization endpoint
-
getTokenEndpoint
Returns the OAuth 2.0 Token endpoint. The default is/oauth2/token
.- Returns:
- the Token endpoint
-
getJwkSetEndpoint
Returns the JWK Set endpoint. The default is/oauth2/jwks
.- Returns:
- the JWK Set endpoint
-
getTokenRevocationEndpoint
Returns the OAuth 2.0 Token Revocation endpoint. The default is/oauth2/revoke
.- Returns:
- the Token Revocation endpoint
-
getTokenIntrospectionEndpoint
Returns the OAuth 2.0 Token Introspection endpoint. The default is/oauth2/introspect
.- Returns:
- the Token Introspection endpoint
-
getOidcClientRegistrationEndpoint
Returns the OpenID Connect 1.0 Client Registration endpoint. The default is/connect/register
.- Returns:
- the OpenID Connect 1.0 Client Registration endpoint
-
getOidcUserInfoEndpoint
Returns the OpenID Connect 1.0 UserInfo endpoint. The default is/userinfo
.- Returns:
- the OpenID Connect 1.0 UserInfo endpoint
-
builder
Constructs a newAuthorizationServerSettings.Builder
with the default settings.- Returns:
- the
AuthorizationServerSettings.Builder
-
withSettings
Constructs a newAuthorizationServerSettings.Builder
with the provided settings.- Parameters:
settings
- the settings to initialize the builder- Returns:
- the
AuthorizationServerSettings.Builder
-