|
|
|
@ -88,7 +88,6 @@ public class LoginKit {
|
|
|
|
|
* @param oldJwt 老的token |
|
|
|
|
* @param socketIOClient socket客户端 |
|
|
|
|
* @param tokenTimeout 设置的超时时长,仅对非保持登录有用,0<= tokenTimeOut <= LoginConfig.LoginTimeOut |
|
|
|
|
* @return 新的token |
|
|
|
|
* @throws Exception 异常 |
|
|
|
|
*/ |
|
|
|
|
public static void refreshToken(String oldJwt, long tokenTimeout, SocketIOClient socketIOClient) throws Exception { |
|
|
|
@ -102,8 +101,6 @@ public class LoginKit {
|
|
|
|
|
* @param socketIOClient socket客户端 |
|
|
|
|
* @param tokenTimeout 设置的超时时长,仅对非保持登录有用,0<= tokenTimeOut <= LoginConfig.LoginTimeOut |
|
|
|
|
* @param res HttpServletResponse |
|
|
|
|
* |
|
|
|
|
* @return 新的token |
|
|
|
|
* @throws Exception 异常 |
|
|
|
|
*/ |
|
|
|
|
public static void refreshTokenAndWriteResponse(String oldJwt, long tokenTimeout, SocketIOClient socketIOClient, HttpServletResponse res) throws Exception { |
|
|
|
|