KemalIdentity::Accounts::ActionPurpose
Inherits Enum < Comparable < Value < Object
What an action token authorises its bearer to do, once.
Stored as text rather than as an enum value, unlike AssuranceLevel — an action token is
short-lived, so a row outliving a change to this list is not the concern it is for
sessions, and a human reading the table benefits from seeing reset rather than 0.
Constants
Reset = 0
Set a new password without knowing the old one.
Confirm = 1
Prove control of an email address.
Invite = 2
Accept an invitation to an account somebody else created. v0.2 ships the value; the flow is later.
Constructors
Instance methods
to_column
Source