WorkOS PHP SDK

PatchConnectionSAMLOptions
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$acsUrl  : string|null
A custom Assertion Consumer Service (ACS) URL override. Set to `null` to revert to the standard WorkOS-generated ACS URL.
$idpEntityId  : string|null
The Identity Provider Entity ID.
$idpMetadataUrl  : string|null
The Identity Provider metadata URL. When provided, the IdP fields and signing certificates are re-imported from the metadata document, replacing the current set. Mutually exclusive with the manual IdP fields. Set to `null` to stop tracking a metadata URL.
$idpSSOUrl  : string|null
The Identity Provider SSO URL.
$spEntityId  : string|null
A custom Service Provider Entity ID (audience) override. Set to `null` to revert to the connection external key.

Methods

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

Properties

$acsUrl

A custom Assertion Consumer Service (ACS) URL override. Set to `null` to revert to the standard WorkOS-generated ACS URL.

public string|null $acsUrl = null

$idpMetadataUrl

The Identity Provider metadata URL. When provided, the IdP fields and signing certificates are re-imported from the metadata document, replacing the current set. Mutually exclusive with the manual IdP fields. Set to `null` to stop tracking a metadata URL.

public string|null $idpMetadataUrl = null

$spEntityId

A custom Service Provider Entity ID (audience) override. Set to `null` to revert to the connection external key.

public string|null $spEntityId = null

Methods

__construct()

public __construct([string|null $idpMetadataUrl = null ][, string|null $acsUrl = null ][, string|null $spEntityId = null ][, string|null $idpEntityId = null ][, string|null $idpSSOUrl = null ]) : mixed
Parameters
$idpMetadataUrl : string|null = null
$acsUrl : string|null = null
$spEntityId : string|null = null
$idpEntityId : string|null = null
$idpSSOUrl : string|null = null

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