WorkOS PHP SDK

DataIntegrationsListResponseData
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$authMethods  : array<string|int, DataIntegrationAuthMethods>|null
The authentication methods supported by this provider (`oauth`, `api_key`, `client_credentials`, or a combination). Defaults to `["oauth"]` if absent.
$connectedAccount  : DataIntegrationsListResponseDataConnectedAccount|null
The user's compatibility [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` when the compatibility slot is empty. This legacy field never selects a standard connection.
$connectedAccounts  : array<string|int, DataIntegrationsListResponseDataConnectedAccount>
The user's connected accounts for this provider in the requested ownership context. This contains only the compatibility connection unless `supports_multiple_connections` is `true`.
$connectionOwner  : PipesOwnership
Who owns connections made through this provider: `user` for connections owned by individual users, or `organization` for a connection shared by every member of the organization. A provider row can exist before any connected account does.
$createdAt  : string
The timestamp when the provider was created.
$credentialsType  : string
The type of credentials used by the provider (e.g., `oauth2`).
$description  : string|null
A description of the provider explaining how it will be used, if configured.
$id  : string
The unique identifier of the provider.
$integrationType  : string
The type of integration (e.g., `github`, `slack`).
$name  : string
The display name of the provider (e.g., "GitHub", "Slack").
$object  : string
Distinguishes the data provider object.
$ownership  : DataIntegrationsListResponseDataOwnership
Use `connection_owner` instead. Legacy spelling of the same value: `userland_user` corresponds to `connection_owner: "user"` and `organization` to `connection_owner: "organization"`.
$scopes  : array<string|int, string>|null
The OAuth scopes configured for this provider, or `null` if none are configured.
$slug  : string
The slug identifier used in API calls (e.g., `github`, `slack`, `notion`).
$updatedAt  : string
The timestamp when the provider was last updated.

Methods

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

Properties

$connectionOwner

Who owns connections made through this provider: `user` for connections owned by individual users, or `organization` for a connection shared by every member of the organization. A provider row can exist before any connected account does.

public PipesOwnership $connectionOwner

Methods

__construct()

public __construct(string $object, string $id, string $name, string|null $description, string $slug, string $integrationType, string $credentialsType, array<string|int, mixed>|null $scopes, PipesOwnership $connectionOwner, DataIntegrationsListResponseDataOwnership $ownership, string $createdAt, string $updatedAt, DataIntegrationsListResponseDataConnectedAccount|null $connectedAccount, array<string|int, mixed> $connectedAccounts[, array<string|int, mixed>|null $authMethods = null ]) : mixed
Parameters
$object : string
$id : string
$name : string
$description : string|null
$slug : string
$integrationType : string
$credentialsType : string
$scopes : array<string|int, mixed>|null
$connectionOwner : PipesOwnership
$ownership : DataIntegrationsListResponseDataOwnership
$createdAt : string
$updatedAt : string
$connectedAccount : DataIntegrationsListResponseDataConnectedAccount|null
$connectedAccounts : array<string|int, mixed>
$authMethods : array<string|int, mixed>|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