WorkOS PHP SDK

PipesConnectedAccountConnectionFailedData
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

The event payload.

Table of Contents

Interfaces

JsonSerializable

Properties

$createdAt  : DateTimeImmutable
An ISO 8601 timestamp.
$dataIntegrationId  : string
The unique ID of the data integration.
$errorCode  : string
A machine-readable error code for the failure.
$errorReason  : string|null
A human-readable explanation of the failure.
$object  : string
The object type.
$organizationId  : string|null
The ID of the Organization the connection attempt belongs to.
$providerError  : string|null
The raw error code returned by the OAuth provider.
$providerErrorDescription  : string|null
The raw error description returned by the OAuth provider.
$providerSlug  : string
The provider slug for this connection attempt.
$userId  : string|null
The ID of the User the connection attempt belongs to.

Methods

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

Properties

Methods

__construct()

public __construct(string $object, string $dataIntegrationId, string $providerSlug, string|null $userId, string|null $organizationId, string $errorCode, string|null $errorReason, string|null $providerError, string|null $providerErrorDescription, DateTimeImmutable $createdAt) : mixed
Parameters
$object : string
$dataIntegrationId : string
$providerSlug : string
$userId : string|null
$organizationId : string|null
$errorCode : string
$errorReason : string|null
$providerError : string|null
$providerErrorDescription : string|null
$createdAt : DateTimeImmutable

jsonSerialize()

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

Search results