| | |
| | | |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.kidgrow.authclient.util.AuthUtils; |
| | | import com.kidgrow.redis.util.RedisUtils; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.core.Authentication; |
| | |
| | | public class OauthLogoutHandler implements LogoutHandler { |
| | | @Autowired |
| | | private TokenStore tokenStore; |
| | | @Autowired |
| | | private RedisUtils redisUtils; |
| | | // @Autowired |
| | | // private RedisUtils redisUtils; |
| | | |
| | | @Override |
| | | public void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication) { |