SendRadarSmsChallenge
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $ipAddress : string|null
- The IP address of the user's request.
- $pendingAuthenticationToken : string
- The pending authentication token from a previous authentication attempt that triggered the Radar challenge.
- $phoneNumber : string
- The phone number to send the SMS verification code to.
- $userAgent : string|null
- The user agent string from the user's request.
- $userId : string
- The ID of the user to send the SMS challenge to.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$ipAddress
The IP address of the user's request.
public
string|null
$ipAddress
= null
$pendingAuthenticationToken
The pending authentication token from a previous authentication attempt that triggered the Radar challenge.
public
string
$pendingAuthenticationToken
$phoneNumber
The phone number to send the SMS verification code to.
public
string
$phoneNumber
$userAgent
The user agent string from the user's request.
public
string|null
$userAgent
= null
$userId
The ID of the user to send the SMS challenge to.
public
string
$userId
Methods
__construct()
public
__construct(string $userId, string $pendingAuthenticationToken, string $phoneNumber[, string|null $ipAddress = null ][, string|null $userAgent = null ]) : mixed
Parameters
- $userId : string
- $pendingAuthenticationToken : string
- $phoneNumber : string
- $ipAddress : string|null = null
- $userAgent : 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>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>