32 references to new
Microsoft.AspNetCore.Identity (32)
PasskeyExceptionExtensions.cs (32)
13
=>
new
($"Expected credential type '{expectedType}', got '{actualType}'.");
16
=>
new
($"Expected the client data JSON 'type' field to be '{expectedType}', got '{actualType}'.");
19
=>
new
("The authenticator response challenge does not match original challenge.");
22
=>
new
($"The authenticator response had an invalid origin '{origin}'.");
25
=>
new
("The authenticator data included an invalid Relying Party ID hash.");
28
=>
new
("The authenticator data flags did not include the 'UserPresent' flag.");
31
=>
new
("User verification is required, but the authenticator data flags did not have the 'UserVerified' flag.");
34
=>
new
("The credential is backed up, but the authenticator data flags did not have the 'BackupEligible' flag.");
37
=>
new
("No attested credential data was provided by the authenticator.");
40
=>
new
("The credential public key algorithm does not match any of the supported algorithms.");
43
=>
new
("The attestation statement was not valid.");
46
=>
new
($"Expected the credential ID to have a length between 1 and 1023 bytes, but got {length}.");
49
=>
new
("The provided credential ID does not match the credential ID in the attested credential data.");
52
=>
new
("The credential is already registered for a user.");
55
=>
new
("The provided credential does not belong to the specified user.");
58
=>
new
($"The provided user handle '{providedUserHandle}' does not match the credential's user handle '{credentialUserHandle}'.");
61
=>
new
("The authenticator response was missing a user handle.");
64
=>
new
("The stored credential is eligible for backup, but the provided credential was unexpectedly ineligible for backup.");
67
=>
new
("The stored credential is ineligible for backup, but the provided credential was unexpectedly eligible for backup.");
70
=>
new
("The assertion signature was invalid.");
73
=>
new
("The authenticator's signature counter is unexpectedly less than or equal to the stored signature counter.");
82
=>
new
("The attestation object did not include an attestation statement format.");
85
=>
new
("The attestation object did not include an attestation statement.");
88
=>
new
("The attestation object did not include authenticator data.");
91
=>
new
($"The authenticator data had an invalid byte count of {length}.");
97
=>
new
($"The attested credential data had an invalid byte count of {length}.");
103
=>
new
($"Invalid token binding status '{tokenBindingStatus}'.");
106
=>
new
("The attestation credential JSON was unexpectedly null.");
112
=>
new
("The assertion credential JSON was unexpectedly null.");
118
=>
new
("The client data JSON was unexpectedly null.");
127
=>
new
("the assertion state json was unexpectedly null.");
130
=>
new
("the assertion state json was unexpectedly null.");