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