WorkOS PHP SDK

RadarStandaloneResponse
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$attemptId  : string
Unique identifier of the authentication attempt.
$blocklistType  : RadarType|null
The type of blocklist entry that triggered the verdict. Only present if the control is `restriction`.
$control  : RadarStandaloneResponseControl|null
The Radar control that triggered the verdict. Only present if the verdict is `block` or `challenge`.
$reason  : string
A human-readable reason for the verdict.
$verdict  : RadarStandaloneResponseVerdict
The verdict of the risk assessment.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$blocklistType

The type of blocklist entry that triggered the verdict. Only present if the control is `restriction`.

public RadarType|null $blocklistType = null

Methods

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