|
| 1 | +<?php |
| 2 | + |
| 3 | +declare(strict_types=1); |
| 4 | + |
| 5 | +namespace Fschmtt\Keycloak\Representation; |
| 6 | + |
| 7 | +use Fschmtt\Keycloak\Attribute\Since; |
| 8 | + |
| 9 | +/** |
| 10 | + * @method string|null getProviderId() |
| 11 | + * @method int|null getProviderPriority() |
| 12 | + * @method string|null getKid() |
| 13 | + * @method string|null getStatus() |
| 14 | + * @method string|null getType() |
| 15 | + * @method string|null getAlgorithm() |
| 16 | + * @method string|null getPublicKey() |
| 17 | + * @method string|null getCertificate() |
| 18 | + * @method string|null getUse() |
| 19 | + * @method int|null getValidTo() |
| 20 | + * @method self withProviderId(?string $providerId) |
| 21 | + * @method self withProviderPriority(?int $providerPriority) |
| 22 | + * @method self withKid(?string $kid) |
| 23 | + * @method self withStatus(?string $status) |
| 24 | + * @method self withType(?string $type) |
| 25 | + * @method self withAlgorithm(?string $algorithm) |
| 26 | + * @method self withPublicKey(?string $publicKey) |
| 27 | + * @method self withCertificate(?string $certificate) |
| 28 | + * @method self withUse(?string $use) |
| 29 | + * @method self withValidTo(?int $validTo) |
| 30 | + * |
| 31 | + * @codeCoverageIgnore |
| 32 | + */ |
| 33 | +class KeyMetadata extends Representation |
| 34 | +{ |
| 35 | + public function __construct( |
| 36 | + protected ?string $providerId = null, |
| 37 | + protected ?int $providerPriority = null, |
| 38 | + protected ?string $kid = null, |
| 39 | + protected ?string $status = null, |
| 40 | + protected ?string $type = null, |
| 41 | + protected ?string $algorithm = null, |
| 42 | + protected ?string $publicKey = null, |
| 43 | + protected ?string $certificate = null, |
| 44 | + protected ?string $use = null, |
| 45 | + #[Since('23.0.0')] |
| 46 | + protected ?int $validTo = null, |
| 47 | + ) { |
| 48 | + } |
| 49 | +} |
0 commit comments