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
* * @Description: 认证服务端配置
* @Project:
* @CreateDate: Created in 2020/2/11 13:53
* @Author: liuke */ @EnableConfigurationProperties(value = AuthServerConfiguration.class) public class AuthServerConfiguration { @Bean public JwtTokenServerUtils getJwtTokenServerUtils(AuthServerProperties authServerProperties) { return new JwtTokenServerUtils(authServerProperties); } }