ChallengeRecord
Less than 1 minute
ChallengeRecord
class ChallengeRecordProperties
ceremony
Hazaar\Auth\WebAuthn\ClientData::CREATE or Hazaar\Auth\WebAuthn\ClientData::GET
public string $ceremonyType: string
challenge
the raw challenge
public string $challengeType: string
identity
the user it was issued for: always set for registration, and for authentication only when the user was named up front
public string $identityType: string
userHandle
the raw user handle (registration only)
public string $userHandleType: string
userVerification
whether user verification is required
public bool $userVerificationType: bool
allowCredentials
raw credential IDs the response must use (empty means any)
public array $allowCredentialsType: array
expiresAt
when it stops being accepted (Unix time)
public int $expiresAtType: int
Methods
__construct
public __construct(string $ceremony, string $challenge, string $identity, string $userHandle, bool $userVerification, array $allowCredentials, int $expiresAt): voidParameters
| Parameter | Type | Description |
|---|---|---|
$ceremony | string | Hazaar\Auth\WebAuthn\ClientData::CREATE or Hazaar\Auth\WebAuthn\ClientData::GET |
$challenge | string | the raw challenge |
$identity | string | the user it was issued for: always set for registration, and for authentication only when the user was named up front |
$userHandle | string | the raw user handle (registration only) |
$userVerification | bool | whether user verification is required |
$allowCredentials | array | raw credential IDs the response must use (empty means any) |
$expiresAt | int | when it stops being accepted (Unix time) |
Generated by Hazaar API Doc Generator on Wed, 28 Oct 2026 08:43:30 +0000