Struct TokenService.TokenVerifyResult
- Namespace
- FishMMO.Auth.Implementation
- Assembly
- FishMMO-AuthShared.dll
Result of a token decryption and verification operation.
public struct TokenService.TokenVerifyResult
- Inherited Members
Fields
AccessLevel
Access level extracted from the verified token.
public AccessLevel AccessLevel
Field Value
AccountName
Account name extracted from the verified token.
public string? AccountName
Field Value
ExpiresUtc
Token expiration time (UTC) extracted from the verified token.
public DateTime ExpiresUtc
Field Value
IsValid
Whether decryption and HMAC verification both succeeded.
public bool IsValid
Field Value
LoginServerId
Login server ID extracted from the verified token.
public long LoginServerId
Field Value
RealIp
Real client IP extracted from the verified token (v4+). Null for pre-v4 tokens.
public string? RealIp
Field Value
SigningKeyFound
If false, the signing key was not found but the HMAC verification
ran anyway with a dummy key to equalize timing. Callers should reject.
public bool SigningKeyFound
Field Value
SigningKeyId
Signing-key database ID extracted from the verified token.
public long SigningKeyId
Field Value
TokenHash
SHA-256 hex hash of the raw token for revocation lookups.
public string? TokenHash