WorkOS PHP SDK

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

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
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results