@Condition(onClass=cn.dev33.satoken.oauth2.SaOAuth2Manager.class) @Configuration public class SaOAuth2AutoConfigure extends Object implements org.noear.solon.core.bean.InitializingBean
| 构造器和说明 |
|---|
SaOAuth2AutoConfigure() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterInjection() |
cn.dev33.satoken.oauth2.config.SaOAuth2Config |
getConfig(cn.dev33.satoken.oauth2.config.SaOAuth2Config oAuth2Config)
获取 OAuth2配置Bean
|
public void afterInjection()
throws Throwable
afterInjection 在接口中 org.noear.solon.core.bean.InitializingBeanThrowable@Bean
public cn.dev33.satoken.oauth2.config.SaOAuth2Config getConfig(@Inject(value="${sa-token.oauth2}",required=false)
cn.dev33.satoken.oauth2.config.SaOAuth2Config oAuth2Config)
Copyright © 2023. All rights reserved.