User Verification
You can indicate the user verification requirements during the ceremonies by setting the value in your options.

Authenticator registration

1
$authenticatorSelectionCriteria = AuthenticatorSelectionCriteria::create()
2
->setUserVerification(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_DISCOURAGED)
3
;
4
5
$publicKeyCredentialCreationOptions =
6
PublicKeyCredentialCreationOptions::create(
7
$rpEntity,
8
$userEntity,
9
$challenge,
10
$publicKeyCredentialParametersList,
11
)
12
->setAuthenticatorSelection($authenticatorSelectionCriteria)
13
;
Copied!

User Authentication

1
// Public Key Credential Request Options
2
$publicKeyCredentialRequestOptions = PublicKeyCredentialRequestOptions::create(random_bytes(32))
3
->setUserVerification(
4
PublicKeyCredentialRequestOptions::USER_VERIFICATION_REQUIREMENT_DISCOURAGED
5
)
6
;
Copied!
Export as PDF
Copy link
Edit on GitHub