public interface AuthenticationHandler
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getRequestMethod()
获取请求方法
|
String |
getRequestPath()
获取请求路径
|
TokenDetail |
getRequestToken()
TOKEN令牌获取方法
|
void |
saveTokenToCookie(String token)
将新的token写入客户端
|
void |
tokenBalanceOutput(int seconds)
令牌有效期输出
|
void |
tokenExpiredReminder(int seconds)
令牌过期提醒
|
TokenDetail getRequestToken()
String getRequestPath()
String getRequestMethod()
void tokenExpiredReminder(int seconds)
seconds - void tokenBalanceOutput(int seconds)
seconds - void saveTokenToCookie(String token)
token - Copyright © 2025. All rights reserved.