版本
1.2.1
源码
org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettings
代码语言:javascript复制public static Builder builder() {
return new Builder()
// 授权
.authorizationEndpoint("/oauth2/authorize")
// 设备授权
.deviceAuthorizationEndpoint("/oauth2/device_authorization")
// 设备校验
.deviceVerificationEndpoint("/oauth2/device_verification")
// 获取令牌
.tokenEndpoint("/oauth2/token")
// 获取JSON Web Key
.jwkSetEndpoint("/oauth2/jwks")
// 撤回令牌
.tokenRevocationEndpoint("/oauth2/revoke")
// 校验令牌(内省)
.tokenIntrospectionEndpoint("/oauth2/introspect")
// OpenID Connect 1.0 获取客户端信息
.oidcClientRegistrationEndpoint("/connect/register")
// OpenID Connect 1.0 获取用户信息
.oidcUserInfoEndpoint("/userinfo")
// OpenID Connect 1.0 登出
.oidcLogoutEndpoint("/connect/logout");
}