Oihana PHP System

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
author

Marc Alcaraz

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

On this page

Search results