The kind of a {@see Credential}, or the ceremony that produced a session — the closed set the
framework recognises. A `Bearer` credential is the `Authorization: Bearer …` token; a `Cookie`
credential is the session-cookie value; `Passkey` marks a WebAuthn ceremony that mints a session
(a vocabulary marker for logs/UI/reports — NOT a per-request credential, and it never flows through
{@see Contracts\CredentialVerifier}). The set is deliberately closed, consistent with
{@see ActorType}: a credential's kind is identity, not a string a caller can invent.
CredentialType::cases()
public static functioncases():array
CredentialType::from()
public static functionfrom(string|int$value): static
Parameters
Parameters of from()
Name
Type
Description
$value
string|int
CredentialType::tryFrom()
public static functiontryFrom(string|int$value): ?static