RadarStandaloneAssessRequest
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $action : RadarStandaloneAssessRequestAction
- The action being performed.
- $authMethod : RadarStandaloneAssessRequestAuthMethod
- The authentication method being used.
- $botScore : string|null
- An optional bot detection score for the request.
- $deviceFingerprint : string|null
- An optional device fingerprint for the request.
- $email : string
- The email address of the user making the request.
- $ipAddress : string
- The IP address of the request to assess.
- $userAgent : string
- The user agent string of the request to assess.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$action
The action being performed.
public
RadarStandaloneAssessRequestAction
$action
$authMethod
The authentication method being used.
public
RadarStandaloneAssessRequestAuthMethod
$authMethod
$botScore
An optional bot detection score for the request.
public
string|null
$botScore
= null
$deviceFingerprint
An optional device fingerprint for the request.
public
string|null
$deviceFingerprint
= null
The email address of the user making the request.
public
string
$email
$ipAddress
The IP address of the request to assess.
public
string
$ipAddress
$userAgent
The user agent string of the request to assess.
public
string
$userAgent
Methods
__construct()
public
__construct(string $ipAddress, string $userAgent, string $email, RadarStandaloneAssessRequestAuthMethod $authMethod, RadarStandaloneAssessRequestAction $action[, string|null $deviceFingerprint = null ][, string|null $botScore = null ]) : mixed
Parameters
- $ipAddress : string
- $userAgent : string
- $email : string
- $authMethod : RadarStandaloneAssessRequestAuthMethod
- $action : RadarStandaloneAssessRequestAction
- $deviceFingerprint : string|null = null
- $botScore : 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>