@Configuration public class Oauth2Config extends Object
| 构造器和说明 |
|---|
Oauth2Config() |
| 限定符和类型 | 方法和说明 |
|---|---|
BCryptPasswordEncoder |
bCryptPasswordEncoder() |
Oauth2Service |
oauth2Service(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate,
UserService userService,
TokenUtils tokenUtils) |
org.springframework.data.redis.core.RedisTemplate |
redisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) |
TokenUtils |
tokenUtils(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate,
UserService userService) |
@Bean public org.springframework.data.redis.core.RedisTemplate redisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
@Bean @ConditionalOnMissingBean public BCryptPasswordEncoder bCryptPasswordEncoder()
@Bean public TokenUtils tokenUtils(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate, UserService userService)
@Bean public Oauth2Service oauth2Service(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate, UserService userService, TokenUtils tokenUtils)
Copyright © 2020. All rights reserved.