@Condition(onClass=cn.dev33.satoken.sso.SaSsoManager.class) @Configuration public class SaSsoAutoConfigure extends Object
| Constructor and Description |
|---|
SaSsoAutoConfigure() |
| Modifier and Type | Method and Description |
|---|---|
cn.dev33.satoken.sso.config.SaSsoClientConfig |
getClientConfig(cn.dev33.satoken.sso.config.SaSsoClientConfig ssoConfig)
获取 SSO Client 配置Bean
|
cn.dev33.satoken.sso.config.SaSsoServerConfig |
getConfig(cn.dev33.satoken.sso.config.SaSsoServerConfig ssoConfig)
获取 SSO Server 配置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.sso.config.SaSsoServerConfig getConfig(@Inject(value="${sa-token.sso-server}",required=false)
cn.dev33.satoken.sso.config.SaSsoServerConfig ssoConfig)
@Bean
public cn.dev33.satoken.sso.config.SaSsoClientConfig getClientConfig(@Inject(value="${sa-token.sso-client}",required=false)
cn.dev33.satoken.sso.config.SaSsoClientConfig ssoConfig)
Copyright © 2024. All rights reserved.