Skip to content

Commit 745bcdb

Browse files
committed
format
1 parent 4003f4e commit 745bcdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/Fido2/AuthenticatorAssertionResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public async Task<VerifyAssertionResult> VerifyAsync(
127127
throw new Fido2VerificationException(Fido2ErrorCode.InvalidRpidHash, Fido2ErrorMessages.InvalidRpidHash);
128128

129129
var conformanceTesting = metadataService != null && metadataService.ConformanceTesting();
130-
130+
131131
// 14. Verify that the UP bit of the flags in authData is set.
132132
// Todo: Conformance testing verifies the UVP flags differently than W3C spec, simplify this by removing the mention of conformanceTesting when conformance tools are updated)
133133
if (!authData.UserPresent && !conformanceTesting)
@@ -136,7 +136,7 @@ public async Task<VerifyAssertionResult> VerifyAsync(
136136
// 15. If the Relying Party requires user verification for this assertion, verify that the UV bit of the flags in authData is set.
137137
if (options.UserVerification is UserVerificationRequirement.Required && !authData.UserVerified)
138138
throw new Fido2VerificationException(Fido2ErrorCode.UserVerificationRequirementNotMet, Fido2ErrorMessages.UserVerificationRequirementNotMet);
139-
139+
140140
// 16. If the credential backup state is used as part of Relying Party business logic or policy, let currentBe and currentBs be the values of the BE and BS bits, respectively, of the flags in authData.
141141
// Compare currentBe and currentBs with credentialRecord.BE and credentialRecord.BS and apply Relying Party policy, if any.
142142
if (authData.IsBackupEligible && config.BackupEligibleCredentialPolicy is Fido2Configuration.CredentialBackupPolicy.Disallowed ||

0 commit comments

Comments
 (0)