Package org.aoju.bus.starter.oauth
Class AuthConfiguration
java.lang.Object
org.aoju.bus.starter.oauth.AuthConfiguration
授权配置
- Since:
- Java 17+
- Version:
- 6.5.0
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.aoju.bus.cache.metric.ExtendCacheauthProviderFactory(AuthProperties properties, org.aoju.bus.cache.metric.ExtendCache extendCache)
-
Constructor Details
-
AuthConfiguration
public AuthConfiguration()
-
-
Method Details
-
authProviderFactory
@Bean public AuthProviderService authProviderFactory(AuthProperties properties, org.aoju.bus.cache.metric.ExtendCache extendCache) -
authCache
@Bean @ConditionalOnMissingBean(org.aoju.bus.cache.metric.ExtendCache.class) @ConditionalOnProperty(name="extend.oauth.cache.type", havingValue="default", matchIfMissing=true) public org.aoju.bus.cache.metric.ExtendCache authCache()
-