类 ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration
@Configuration @Conditional(org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration.JwtTokenCondition.class) protected static class ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration extends Object
构造器概要
构造器 构造器 说明 JwtTokenServicesConfiguration(ResourceServerProperties resource, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterConfigurer>> configurers, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterRestTemplateCustomizer>> customizers)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter
jwtTokenEnhancer()
org.springframework.security.oauth2.provider.token.DefaultTokenServices
jwtTokenServices(org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore)
org.springframework.security.oauth2.provider.token.TokenStore
jwtTokenStore()
构造器详细资料
JwtTokenServicesConfiguration
public JwtTokenServicesConfiguration(ResourceServerProperties resource, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterConfigurer>> configurers, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterRestTemplateCustomizer>> customizers)
方法详细资料
jwtTokenServices
@Bean @ConditionalOnMissingBean(org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class) public org.springframework.security.oauth2.provider.token.DefaultTokenServices jwtTokenServices(org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore)
jwtTokenStore
@Bean @ConditionalOnMissingBean(org.springframework.security.oauth2.provider.token.TokenStore.class) public org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore()
jwtTokenEnhancer
@Bean public org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter jwtTokenEnhancer()