AuthenticationPasskeyFailedDataError
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Details about the authentication error.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $code : string
- The error code.
- $message : string
- A human-readable error message.
- $radarDetectionId : string|null
- The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>|stdClass
- toArray() : array<string|int, mixed>
Properties
$code
The error code.
public
string
$code
$message
A human-readable error message.
public
string
$message
$radarDetectionId
The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
public
string|null
$radarDetectionId
= null
Methods
__construct()
public
__construct(string $code, string $message[, string|null $radarDetectionId = null ]) : mixed
Parameters
- $code : string
- $message : string
- $radarDetectionId : string|null = null
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>|stdClass
Return values
array<string|int, mixed>|stdClasstoArray()
public
toArray() : array<string|int, mixed>