@EnableConfigurationProperties(value=AuthProperties.class) public class AuthConfiguration extends Object
| Constructor and Description |
|---|
AuthConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AuthProviderService |
authProviderFactory(AuthProperties properties,
org.aoju.bus.oauth.metric.StateCache stateCache) |
org.aoju.bus.oauth.metric.StateCache |
stateCache() |
@Bean public AuthProviderService authProviderFactory(AuthProperties properties, org.aoju.bus.oauth.metric.StateCache stateCache)
@Bean
@ConditionalOnMissingBean(value=org.aoju.bus.oauth.metric.StateCache.class)
@ConditionalOnProperty(name="extend.oauth.cache.type",
havingValue="default",
matchIfMissing=true)
public org.aoju.bus.oauth.metric.StateCache stateCache()
Copyright © 2020. All rights reserved.