PasswordResetTrait
The enumeration of all PasswordReset custom properties.
Properties already available via parent classes / other traits:
- AGENT, OBJECT, ACTION_STATUS, START_TIME, END_TIME (Schema.org Action)
- EMAIL (Schema.org Person)
- NAME, URL, IDENTIFIER (Schema.org Thing)
Action-status values used by password resets (mapped to Schema.org ActionStatusType):
- ACTION_STATUS_PENDING : awaiting consumption (link not yet clicked)
- ACTION_STATUS_CONSUMED : code consumed, password effectively changed
- ACTION_STATUS_EXPIRED : passed the expiration date without being consumed
- ACTION_STATUS_CANCELLED : revoked by admin or via user deletion cascade
Note: This is a trait for use with the PasswordReset schema class and Prop class.
Tags
Table of Contents
Constants
- ACTION_STATUS_CANCELLED : string = 'cancelled'
- ACTION_STATUS_CONSUMED : string = 'consumed'
- ACTION_STATUS_EXPIRED : string = 'expired'
- ACTION_STATUS_PENDING : string = 'pending'
- EMAIL : string = 'email'
- REDIRECT_URL : string = 'redirectUrl'
- SENT_AT : string = 'sentAt'
- TOKEN : string = 'token'
Constants
ACTION_STATUS_CANCELLED
public
string
ACTION_STATUS_CANCELLED
= 'cancelled'
ACTION_STATUS_CONSUMED
public
string
ACTION_STATUS_CONSUMED
= 'consumed'
ACTION_STATUS_EXPIRED
public
string
ACTION_STATUS_EXPIRED
= 'expired'
ACTION_STATUS_PENDING
public
string
ACTION_STATUS_PENDING
= 'pending'
public
string
EMAIL
= 'email'
REDIRECT_URL
public
string
REDIRECT_URL
= 'redirectUrl'
SENT_AT
public
string
SENT_AT
= 'sentAt'
TOKEN
public
string
TOKEN
= 'token'