Struct AuthTokenData
Data transfer object for an issued authentication token record.
public struct AuthTokenData
- Inherited Members
Constructors
AuthTokenData(long, string, string, long, DateTime, DateTime, bool)
public AuthTokenData(long id, string tokenHash, string accountName, long loginServerId, DateTime timeCreated, DateTime expiresUtc, bool revoked)
Parameters
idlongtokenHashstringaccountNamestringloginServerIdlongtimeCreatedDateTimeexpiresUtcDateTimerevokedbool
Fields
AccountName
Account name associated with token.
public readonly string AccountName
Field Value
ExpiresUtc
Token expiration timestamp (UTC).
public readonly DateTime ExpiresUtc
Field Value
ID
Primary key.
public readonly long ID
Field Value
LoginServerId
Login server that issued the token.
public readonly long LoginServerId
Field Value
Revoked
Whether the token has been revoked.
public readonly bool Revoked
Field Value
TimeCreated
Timestamp when token was created.
public readonly DateTime TimeCreated
Field Value
TokenHash
Hashed authentication token.
public readonly string TokenHash