Package 

Class RedisTokenService

  • All Implemented Interfaces:
    cn.spark2fire.auth.token.TokenService

    
    public final class RedisTokenService
     implements TokenService
                        
    • Constructor Summary

      Constructors 
      Constructor Description
      RedisTokenService(StringRedisTemplate redisTemplate, AuthProperties properties)
    • Method Summary

      Modifier and Type Method Description
      UserToken extractToken(String rawToken)
      String encodeToken(String username, String authority, Boolean rememberMe)
      Unit deleteToken(String username)
      • Methods inherited from class cn.spark2fire.auth.token.TokenService

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait