PatchConnectionAttributeMaps
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $customAttributes : array<string, string|null>|null
- How IdP attributes or claims map onto custom attributes, keyed by custom attribute name. Custom attributes must already be defined in the WorkOS dashboard. Only the provided keys are updated; a `null` value unsets that mapping.
- $standardAttributes : PatchConnectionStandardAttributes|null
- How IdP attributes or claims map onto the standard WorkOS profile fields. Only the provided fields are updated.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$customAttributes
How IdP attributes or claims map onto custom attributes, keyed by custom attribute name. Custom attributes must already be defined in the WorkOS dashboard. Only the provided keys are updated; a `null` value unsets that mapping.
public
array<string, string|null>|null
$customAttributes
= null
$standardAttributes
How IdP attributes or claims map onto the standard WorkOS profile fields. Only the provided fields are updated.
public
PatchConnectionStandardAttributes|null
$standardAttributes
= null
Methods
__construct()
public
__construct([PatchConnectionStandardAttributes|null $standardAttributes = null ][, array<string|int, mixed>|null $customAttributes = null ]) : mixed
Parameters
- $standardAttributes : PatchConnectionStandardAttributes|null = null
- $customAttributes : array<string|int, mixed>|null = null
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>