User Verification
The Easy Way
use Webauthn\AuthenticatorSelectionCriteria;
$authenticatorSelectionCriteria = new AuthenticatorSelectionCriteria(
null,
false,
AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_DISCOURAGED
);
$publicKeyCredentialCreationOptions = $server->generatePublicKeyCredentialCreationOptions(
$userEntity,
PublicKeyCredentialCreationOptions::ATTESTATION_CONVEYANCE_PREFERENCE_NONE,
$excludeCredentials
$authenticatorSelectionCriteria
);The Hard Way
Authenticator registration
User Authentication
The Symfony Way
Last updated
Was this helpful?