Class AuthTokenEntity
Tracks an issued authentication token for revocation and audit. The LoginServer issues tokens after successful SRP authentication. WorldServers and SceneServers validate tokens cryptographically and check this table for revocation.
public class AuthTokenEntity
- Inheritance
-
AuthTokenEntity
- Inherited Members
Properties
Account
Navigation reference to the associated account entity.
public AccountEntity Account { get; set; }
Property Value
AccountName
Account name the token was issued to.
public string AccountName { get; set; }
Property Value
ExpiresUtc
UTC timestamp when the token expires.
public DateTime ExpiresUtc { get; set; }
Property Value
ID
Primary key.
public long ID { get; set; }
Property Value
LoginServer
Navigation reference to the issuing login server entity.
public LoginServerEntity LoginServer { get; set; }
Property Value
LoginServerId
Login server ID that issued this token.
public long LoginServerId { get; set; }
Property Value
Revoked
Whether this token has been explicitly revoked.
public bool Revoked { get; set; }
Property Value
TimeCreated
Row creation timestamp (UTC) — when the token was issued.
public DateTime TimeCreated { get; set; }
Property Value
TokenHash
SHA-256 hash of the issued token for lookup and comparison.
public string TokenHash { get; set; }
Property Value
Version
PostgreSQL xmin system column exposed as an EF Core concurrency token to detect
concurrent revocations or future per-token mutations. Updated automatically by the
database on every row change.
public uint Version { get; set; }