WorkOS PHP SDK

ConnectApplicationM2M
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$applicationType  : string
The type of the application.
$clientId  : string
The client ID of the connect application.
$createdAt  : DateTimeImmutable
An ISO 8601 timestamp.
$description  : string|null
A description of the connect application.
$id  : string
The unique ID of the connect application.
$name  : string
The name of the connect application.
$object  : string
Distinguishes the connect application object.
$organizationId  : string
The ID of the organization the application belongs to.
$scopes  : array<string|int, string>
The scopes available for this application.
$updatedAt  : DateTimeImmutable
An ISO 8601 timestamp.

Methods

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

Properties

$organizationId

The ID of the organization the application belongs to.

public string $organizationId

Methods

__construct()

public __construct(string $object, string $id, string $clientId, string|null $description, string $name, array<string|int, mixed> $scopes, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt, string $applicationType, string $organizationId) : mixed
Parameters
$object : string
$id : string
$clientId : string
$description : string|null
$name : string
$scopes : array<string|int, mixed>
$createdAt : DateTimeImmutable
$updatedAt : DateTimeImmutable
$applicationType : string
$organizationId : string

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>

toArray()

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

Search results