TwoFactorAuthLoginContentControl
extends TwoFactorAuthLoginContentControl_parent
in package
Overloading class that extends the login content control
Table of Contents
- proceed() : mixed
- Redirect to the token prompt page
- assignSessionVariables() : $this
- Assign session variables
- customerIdFromEmailAddress() : IdType
- Return the customer ID found by the provided email address
- isModuleInstalled() : bool
- Return whether the module is installed
- isUpdateInProgress() : bool
- Return whether the module is installed
Methods
proceed()
Redirect to the token prompt page
public
proceed() : mixed
Return values
mixed —assignSessionVariables()
Assign session variables
protected
assignSessionVariables(EmailAddress $emailAddress, NonEmptyStringType $password, IdType $customerId) : $this
Parameters
- $emailAddress : EmailAddress
-
Customer email address
- $password : NonEmptyStringType
-
Customer password
- $customerId : IdType
-
Customer ID
Return values
$this —Same instance
customerIdFromEmailAddress()
Return the customer ID found by the provided email address
protected
customerIdFromEmailAddress(EmailAddress $emailAddress) : IdType
Parameters
- $emailAddress : EmailAddress
-
Email address
Return values
IdType —Customer ID
isModuleInstalled()
Return whether the module is installed
protected
isModuleInstalled() : bool
Return values
bool —Module installed status
isUpdateInProgress()
Return whether the module is installed
protected
isUpdateInProgress() : bool
Return values
bool —Module installed status