PublicKeyCredentialRequestOptions
The authentication options a server hands the browser (WebAuthn `navigator.credentials.get`). `toArray()` is the JSON body.
PublicKeyCredentialRequestOptions::__construct()
public function __construct(array $publicKey):Parameters
| Name | Type | Description |
|---|---|---|
| $publicKey | array<string, mixed> | the `publicKey` member the browser consumes |
PublicKeyCredentialRequestOptions::toArray()
public function toArray(): arrayThe JSON body handed to `navigator.credentials.get`.