spring.turbo.module.security.jwt.package-info Maven / Gradle / Ivy
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* ____ _ _____ _
* / ___| _ __ _ __(_)_ __ __ |_ _| _ _ __| |__ ___
* \___ \| '_ \| '__| | '_ \ / _` || || | | | '__| '_ \ / _ \
* ___) | |_) | | | | | | | (_| || || |_| | | | |_) | (_) |
* |____/| .__/|_| |_|_| |_|\__, ||_| \__,_|_| |_.__/ \___/
* |_| |___/ https://github.com/yingzhuo/spring-turbo
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
package spring.turbo.module.security.jwt;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.Bean;
/**
* @author 应卓
* @since 1.0.0
*/
class SpringBootAutoConfiguration {
@Bean
@ConditionalOnBean(value = AlgorithmFactory.class)
JwtTokenFactory jwtFactory(AlgorithmFactory algorithmFactory) {
return new JwtTokenFactoryImpl(algorithmFactory);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy