类 ResourceServerTokenServicesConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration
@Configuration @ConditionalOnMissingBean(org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerEndpointsConfiguration.class) public class ResourceServerTokenServicesConfiguration extends Object
Configuration for an OAuth2 resource server.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static class
ResourceServerTokenServicesConfiguration.JwkTokenStoreConfiguration
protected static class
ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration
protected static class
ResourceServerTokenServicesConfiguration.RemoteTokenServicesConfiguration
构造器概要
构造器 构造器 说明 ResourceServerTokenServicesConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 UserInfoRestTemplateFactory
userInfoRestTemplateFactory(org.springframework.beans.factory.ObjectProvider<List<UserInfoRestTemplateCustomizer>> customizers, org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails> details, org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.OAuth2ClientContext> oauth2ClientContext)
构造器详细资料
ResourceServerTokenServicesConfiguration
public ResourceServerTokenServicesConfiguration()
方法详细资料
userInfoRestTemplateFactory
@Bean @ConditionalOnMissingBean public UserInfoRestTemplateFactory userInfoRestTemplateFactory(org.springframework.beans.factory.ObjectProvider<List<UserInfoRestTemplateCustomizer>> customizers, org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails> details, org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.OAuth2ClientContext> oauth2ClientContext)