EmailCompletionRequiredErrorBodyWithEmailCompletionToken
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $code : string
- The error code identifying the type of error.
- $emailCompletionToken : string
- Pass this to the `email-completion` grant, with the address the user supplies, to finish authenticating.
- $message : string
- A human-readable description of the error.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$code
The error code identifying the type of error.
public
string
$code
$emailCompletionToken
Pass this to the `email-completion` grant, with the address the user supplies, to finish authenticating.
public
string
$emailCompletionToken
$message
A human-readable description of the error.
public
string
$message
Methods
__construct()
public
__construct(string $code, string $message, string $emailCompletionToken) : mixed
Parameters
- $code : string
- $message : string
- $emailCompletionToken : string
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>