package com.kidgrow.jwt.server.configuration;
|
|
import com.kidgrow.jwt.server.properties.AuthServerProperties;
|
import com.kidgrow.jwt.server.utils.JwtTokenServerUtils;
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
import org.springframework.context.annotation.Bean;
|
|
/**
|
* 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
|
*
|
* @Description: 认证服务端配置<br>
|
* @Project: <br>
|
* @CreateDate: Created in 2020/2/11 13:53 <br>
|
* @Author: <a href="4345453@kidgrow.com">liuke</a>
|
*/
|
|
@EnableConfigurationProperties(value = AuthServerConfiguration.class)
|
public class AuthServerConfiguration {
|
@Bean
|
public JwtTokenServerUtils getJwtTokenServerUtils(AuthServerProperties authServerProperties) {
|
return new JwtTokenServerUtils(authServerProperties);
|
}
|
}
|