public interface AuthTokenGenerator
| 限定符和类型 | 方法和说明 |
|---|---|
long |
newSid(long id)
创建新的SID
|
framework.security.token.AuthTokenInfo |
newToken(long id,
int duration,
long sid)
新的token,通常用于登录时
|
framework.security.token.AuthTokenInfo |
updateToken(framework.security.token.AuthTokenInfo tokenInfo)
更新token,通常用于令牌更新
|
long newSid(long id)
framework.security.token.AuthTokenInfo newToken(long id,
int duration,
long sid)
id - duration - sid - framework.security.token.AuthTokenInfo updateToken(framework.security.token.AuthTokenInfo tokenInfo)
tokenInfo - Copyright © 2025. All rights reserved.