@Test public void generateRefreshToken() { DoubleJWT jwt = new DoubleJWT("secret", 1000, 2000); String token = jwt.generateRefreshToken(1); assertNotNull(token); log.info(token); }
public String generateRefreshToken(long identity) { return generateToken(REFRESH_TYPE, identity, LIN_SCOPE, this.refreshExpire); }
DoubleJWT { public String generateRefreshToken(long identity) { return generateToken(REFRESH_TYPE, identity, LIN_SCOPE, this.refreshExpire); } }
DoubleJWT { public String generateRefreshToken(long identity) { return generateToken(REFRESH_TYPE, identity, LIN_SCOPE, this.refreshExpire); } DoubleJWT(Algorithm algorithm, long accessExpire, long refreshExpire);  DoubleJWT(String secret, long accessExpire, long refreshExpire); }
DoubleJWT { public String generateRefreshToken(long identity) { return generateToken(REFRESH_TYPE, identity, LIN_SCOPE, this.refreshExpire); } DoubleJWT(Algorithm algorithm, long accessExpire, long refreshExpire);  DoubleJWT(String secret, long accessExpire, long refreshExpire); String generateToken(String tokenType, long identity, String scope, long expire); Map<String, Claim> decodeAccessToken(String token); Map<String, Claim> decodeRefreshToken(String token); String generateAccessToken(long identity); String generateRefreshToken(long identity); Tokens generateTokens(long identity); JWTVerifier getAccessVerifier(); JWTVerifier getRefreshVerifier(); JWTCreator.Builder getBuilder(); Algorithm getAlgorithm(); Long getAccessExpire(); Long getRefreshExpire(); }
DoubleJWT { public String generateRefreshToken(long identity) { return generateToken(REFRESH_TYPE, identity, LIN_SCOPE, this.refreshExpire); } DoubleJWT(Algorithm algorithm, long accessExpire, long refreshExpire);  DoubleJWT(String secret, long accessExpire, long refreshExpire); String generateToken(String tokenType, long identity, String scope, long expire); Map<String, Claim> decodeAccessToken(String token); Map<String, Claim> decodeRefreshToken(String token); String generateAccessToken(long identity); String generateRefreshToken(long identity); Tokens generateTokens(long identity); JWTVerifier getAccessVerifier(); JWTVerifier getRefreshVerifier(); JWTCreator.Builder getBuilder(); Algorithm getAlgorithm(); Long getAccessExpire(); Long getRefreshExpire();  }