TwoFactorAuth
in package
Two Factor Authorization class.
Table of Contents
- $action : BaseAction
- __construct() : mixed
- Constructor.
- activate() : string
- Verify secret key.
- check() : string
- Check auth secret key.
- delete() : string
- Delete authy secret key.
- details() : array<string|int, mixed>
- Get details.
- generate() : string
- Generate secret key.
- hasRequiresAdditionalData() : string
- Verification of the required data entry.
- isActive() : bool
- Check if authorization is active.
- verify() : void
- Verify secret key.
Properties
$action
private
BaseAction
$action
Action instance
Methods
__construct()
Constructor.
public
__construct(BaseAction $action) : mixed
Parameters
- $action : BaseAction
Return values
mixed —activate()
Verify secret key.
public
activate() : string
Tags
Return values
string —check()
Check auth secret key.
public
check() : string
Return values
string —delete()
Delete authy secret key.
public
delete() : string
Return values
string —details()
Get details.
public
details() : array<string|int, mixed>
Return values
array<string|int, mixed> —generate()
Generate secret key.
public
generate() : string
Return values
string —hasRequiresAdditionalData()
Verification of the required data entry.
public
hasRequiresAdditionalData() : string
Return values
string —isActive()
Check if authorization is active.
public
isActive() : bool
Return values
bool —verify()
Verify secret key.
public
verify() : void