Class PanelClaims
- Namespace
- FishMMO.ControlPanel.Auth
- Assembly
- FishMMO-ControlPanel.dll
Claim types the panel's authentication handler issues.
public static class PanelClaims
- Inheritance
-
PanelClaims
- Inherited Members
Fields
AccessLevel
The account's access level, as the numeric enum value.
public const string AccessLevel = "fishmmo:access_level"
Field Value
LastStepUp
Round-trip ISO-8601 of the last step-up, when there has been one.
public const string LastStepUp = "fishmmo:step_up"
Field Value
SessionHash
SHA-256 of the session identifier, so handlers can act on the row.
public const string SessionHash = "fishmmo:session"
Field Value
SessionId
The session row's surrogate id. Lets a handler say which entry in a session list is the caller's own without returning a hash to the browser.
public const string SessionId = "fishmmo:session_id"
Field Value
TotpEnrolled
Whether the account has TOTP enrolled at all ("true"/"false").
public const string TotpEnrolled = "fishmmo:totp_enrolled"
Field Value
TwoFactorSatisfied
Whether two-factor has been satisfied on this session ("true"/"false").
public const string TwoFactorSatisfied = "fishmmo:2fa"