19 lines
389 B
PHP
19 lines
389 B
PHP
<?php
|
|
|
|
namespace App\Support\Providers;
|
|
|
|
enum ProviderCredentialKind: string
|
|
{
|
|
case ClientSecret = 'client_secret';
|
|
case Certificate = 'certificate';
|
|
case Federated = 'federated';
|
|
|
|
/**
|
|
* @return array<int, string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|