WorkOS PHP SDK

SSOLogoutAuthorizeResponse
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$logoutToken  : string
The logout token to be used in the [Logout Redirect](https://workos.com/docs/reference/sso/logout) endpoint.
$logoutUrl  : string
The URL to redirect the user to in order to log out ([Logout Redirect](https://workos.com/docs/reference/sso/logout) endpoint ready to use).

Methods

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

Properties

$logoutToken

The logout token to be used in the [Logout Redirect](https://workos.com/docs/reference/sso/logout) endpoint.

public string $logoutToken

$logoutUrl

The URL to redirect the user to in order to log out ([Logout Redirect](https://workos.com/docs/reference/sso/logout) endpoint ready to use).

public string $logoutUrl

Methods

__construct()

public __construct(string $logoutUrl, string $logoutToken) : mixed
Parameters
$logoutUrl : string
$logoutToken : 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>

        
On this page

Search results