CreateConnectionAttributeMaps
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $customAttributes : array<string, string>|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.
- $standardAttributes : CreateConnectionStandardAttributes|null
- How IdP attributes or claims map onto the standard WorkOS profile fields. Provided fields override the defaults for the connection type.
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.
public
array<string, string>|null
$customAttributes
= null
$standardAttributes
How IdP attributes or claims map onto the standard WorkOS profile fields. Provided fields override the defaults for the connection type.
public
CreateConnectionStandardAttributes|null
$standardAttributes
= null
Methods
__construct()
public
__construct([CreateConnectionStandardAttributes|null $standardAttributes = null ][, array<string|int, mixed>|null $customAttributes = null ]) : mixed
Parameters
- $standardAttributes : CreateConnectionStandardAttributes|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>