AgentBlueprintCreatedDataSessionSetting
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
$accessTokenTtlSeconds
Lifetime of each minted access token in seconds.
public
float
$accessTokenTtlSeconds
$maxAgeSeconds
Maximum lifetime of a session in seconds; refreshes never extend a session past this.
public
float
$maxAgeSeconds
$refreshTokenTtlSeconds
Lifetime of each rotated refresh token in seconds.
public
float
$refreshTokenTtlSeconds
Methods
__construct()
public
__construct(float $maxAgeSeconds, float $accessTokenTtlSeconds, float $refreshTokenTtlSeconds) : mixed
Parameters
- $maxAgeSeconds : float
- $accessTokenTtlSeconds : float
- $refreshTokenTtlSeconds : float
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>