WorkOS PHP SDK

AgentBlueprintUpdatedDataSessionSetting
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Token and session lifetimes for sessions minted from this blueprint.

Table of Contents

Interfaces

JsonSerializable

Properties

$accessTokenTtlSeconds  : float
Lifetime of each minted access token in seconds.
$maxAgeSeconds  : float
Maximum lifetime of a session in seconds; refreshes never extend a session past this.
$refreshTokenTtlSeconds  : float
Lifetime of each rotated refresh token in seconds.

Methods

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

Properties

Methods

__construct()

public __construct(float $maxAgeSeconds, float $accessTokenTtlSeconds, float $refreshTokenTtlSeconds) : mixed
Parameters
$maxAgeSeconds : float
$accessTokenTtlSeconds : float
$refreshTokenTtlSeconds : float

jsonSerialize()

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

Search results