WorkOS PHP SDK

DataIntegrationAccessTokenResponse
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$accessToken  : DataIntegrationAccessTokenResponseAccessToken|null
The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`.
$active  : bool|null
Indicates whether the access token is valid and ready for use, or if reauthorization is required.
$error  : DataIntegrationAccessTokenResponseError|null
- `"not_installed"`: The user does not have the integration installed.

Methods

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

Properties

Methods

jsonSerialize()

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

        
On this page

Search results