WorkOS PHP SDK

AuthenticateResponseImpersonator
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Information about the impersonator if this session was created via impersonation.

Table of Contents

Interfaces

JsonSerializable

Properties

$email  : string
The email address of the WorkOS Dashboard user who is impersonating the user.
$reason  : string|null
The justification the impersonator gave for impersonating the user.

Methods

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

Properties

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