DataIntegrationCredentials
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Organization-managed OAuth credential configuration. Present only for integrations whose credentials are supplied by the organization; absent otherwise.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $clientId : string|null
- The OAuth client ID supplied by the organization, or `null` when none is configured.
- $clientSecretLastFour : string|null
- The last four characters of the organization-supplied OAuth client secret, or `null` when none is configured.
- $credentialsType : DataIntegrationCredentialsCredentialsType
- The credentials type for this integration (e.g., `shared`, `custom`, or `organization`).
- $hasCredentials : bool
- Whether the organization has supplied OAuth credentials for this integration.
- $redirectUri : string
- The redirect URI to register with the provider when configuring the organization-managed OAuth application.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$clientId
The OAuth client ID supplied by the organization, or `null` when none is configured.
public
string|null
$clientId
$clientSecretLastFour
The last four characters of the organization-supplied OAuth client secret, or `null` when none is configured.
public
string|null
$clientSecretLastFour
$credentialsType
The credentials type for this integration (e.g., `shared`, `custom`, or `organization`).
public
DataIntegrationCredentialsCredentialsType
$credentialsType
$hasCredentials
Whether the organization has supplied OAuth credentials for this integration.
public
bool
$hasCredentials
$redirectUri
The redirect URI to register with the provider when configuring the organization-managed OAuth application.
public
string
$redirectUri
Methods
__construct()
public
__construct(DataIntegrationCredentialsCredentialsType $credentialsType, bool $hasCredentials, string|null $clientId, string|null $clientSecretLastFour, string $redirectUri) : mixed
Parameters
- $credentialsType : DataIntegrationCredentialsCredentialsType
- $hasCredentials : bool
- $clientId : string|null
- $clientSecretLastFour : string|null
- $redirectUri : string
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>