@Condition(onClass=cn.dev33.satoken.oauth2.SaOAuth2Manager.class) @Configuration public class SaOAuth2AutoConfigure extends Object
| Constructor and Description |
|---|
SaOAuth2AutoConfigure() |
| Modifier and Type | Method and Description |
|---|---|
cn.dev33.satoken.oauth2.config.SaOAuth2ServerConfig |
getConfig(cn.dev33.satoken.oauth2.config.SaOAuth2ServerConfig oAuth2Config)
获取 OAuth2配置Bean
|
void |
init(org.noear.solon.core.AppContext appContext) |
@Bean
public void init(org.noear.solon.core.AppContext appContext)
throws Throwable
Throwable@Bean
public cn.dev33.satoken.oauth2.config.SaOAuth2ServerConfig getConfig(@Inject(value="${sa-token.oauth2-server}",required=false)
cn.dev33.satoken.oauth2.config.SaOAuth2ServerConfig oAuth2Config)
Copyright © 2024. All rights reserved.