WorkOS PHP SDK

AgentBlueprintInvocableBy
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Who may mint sessions from this blueprint.

Table of Contents

Interfaces

JsonSerializable

Properties

$organizationIds  : array<string|int, string>
Organizations in which sessions may be minted from this blueprint, enforced on user-delegated, autonomous, and agent-delegated mints.
$roleSlugs  : array<string|int, string>
Role slugs whose members may mint user-delegated sessions from this blueprint.

Methods

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

Properties

$organizationIds

Organizations in which sessions may be minted from this blueprint, enforced on user-delegated, autonomous, and agent-delegated mints.

public array<string|int, string> $organizationIds

$roleSlugs

Role slugs whose members may mint user-delegated sessions from this blueprint.

public array<string|int, string> $roleSlugs

Methods

__construct()

public __construct(array<string|int, mixed> $roleSlugs, array<string|int, mixed> $organizationIds) : mixed
Parameters
$roleSlugs : array<string|int, mixed>
$organizationIds : array<string|int, mixed>

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