Skip to content
docsv0.9.0

RelyingPartyResolver

Resolves the {@see RelyingParty} a ceremony runs for, per request — a multi-tenant host looks at the request (host header, tenant path, …) instead of reading a single env-static RP. The leaf declares WHAT is needed; the host decides HOW a request maps to a relying party.

RelyingPartyResolver::resolve()

abstract public function resolve(Psr\Http\Message\ServerRequestInterface $request): Milpa\Auth\WebAuthn\RelyingParty

The relying party this request's ceremony must run under.

Parameters

Parameters of resolve()
NameTypeDescription
$requestPsr\Http\Message\ServerRequestInterface