Skip to content
docsv0.9.0

RelyingParty

The relying party a ceremony runs for — resolved per request/tenant, never env-static. `id` is the WebAuthn RP ID (an eTLD+1 or host); `allowedOrigins` is the exact-string https allowlist checked against the ceremony's clientDataJSON origin. Multi-tenant hosts resolve one per request.

RelyingParty::__construct()

public function __construct(string $id, string $name, array $allowedOrigins):

Parameters

Parameters of __construct()
NameTypeDescription
$idstring
$namestring
$allowedOriginslist<string>exact https origins accepted for this RP