SAMLSpSigningCertificate
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $id : string
- Unique identifier for the Service Provider signing key pair. WorkOS holds the corresponding private key, which is never exposed.
- $notAfter : DateTimeImmutable|null
- When the certificate expires.
- $notBefore : DateTimeImmutable|null
- When the certificate becomes valid.
- $object : string
- Distinguishes the SAML Service Provider signing certificate object.
- $value : string
- The PEM-encoded public X.509 certificate.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$createdAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$createdAt
$id
Unique identifier for the Service Provider signing key pair. WorkOS holds the corresponding private key, which is never exposed.
public
string
$id
$notAfter
When the certificate expires.
public
DateTimeImmutable|null
$notAfter
$notBefore
When the certificate becomes valid.
public
DateTimeImmutable|null
$notBefore
$object
Distinguishes the SAML Service Provider signing certificate object.
public
string
$object
$value
The PEM-encoded public X.509 certificate.
public
string
$value
Methods
__construct()
public
__construct(string $object, string $id, string $value, DateTimeImmutable|null $notBefore, DateTimeImmutable|null $notAfter, DateTimeImmutable $createdAt) : mixed
Parameters
- $object : string
- $id : string
- $value : string
- $notBefore : DateTimeImmutable|null
- $notAfter : DateTimeImmutable|null
- $createdAt : DateTimeImmutable
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>