Conditional Create
How It Works
Pure PHP Usage
Option 1 — Set mediation on the options (recommended)
mediation on the options (recommended)<?php
declare(strict_types=1);
use Webauthn\PublicKeyCredentialCreationOptions;
$options = PublicKeyCredentialCreationOptions::create(
$rpEntity,
$userEntity,
$challenge,
mediation: PublicKeyCredentialCreationOptions::MEDIATION_CONDITIONAL,
);Option 2 — Use a dedicated ceremony manager
Symfony Bundle Configuration
Frontend Integration
See Also
Last updated
Was this helpful?