WorkOS PHP SDK

RedirectUri
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$createdAt  : string
The timestamp when the redirect URI was created.
$default  : bool
Whether this is the default redirect URI.
$id  : string
The ID of the redirect URI.
$object  : string
The object type.
$updatedAt  : string
The timestamp when the redirect URI was last updated.
$uri  : string
The redirect URI.

Methods

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

Properties

$createdAt

The timestamp when the redirect URI was created.

public string $createdAt

$default

Whether this is the default redirect URI.

public bool $default

$updatedAt

The timestamp when the redirect URI was last updated.

public string $updatedAt

Methods

__construct()

public __construct(string $object, string $id, string $uri, bool $default, string $createdAt, string $updatedAt) : mixed
Parameters
$object : string
$id : string
$uri : string
$default : bool
$createdAt : string
$updatedAt : 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