12 references to new
Microsoft.AspNetCore.Identity (12)
DefaultPasskeyHandler.cs (2)
48
return PasskeyAttestationResult.Fail(new
PasskeyException
($"An unexpected error occurred during passkey attestation: {ex.Message}", ex));
70
return PasskeyAssertionResult.Fail<TUser>(new
PasskeyException
($"An unexpected error occurred during passkey assertion: {ex.Message}", ex));
PasskeyExceptionExtensions.cs (10)
91
=>
new
($"An exception occurred while parsing the attestation object: {ex.Message}", ex);
94
=>
new
("The attestation object had an invalid format.", ex);
109
=>
new
($"The authenticator data had an invalid format.", ex);
115
=>
new
($"The attested credential data had an invalid format.", ex);
124
=>
new
($"The attestation credential JSON had an invalid format: {ex.Message}", ex);
130
=>
new
($"The original passkey creation options had an invalid format: {ex.Message}", ex);
136
=>
new
($"The assertion credential JSON had an invalid format: {ex.Message}", ex);
142
=>
new
($"The original passkey request options had an invalid format: {ex.Message}", ex);
148
=>
new
($"The client data JSON had an invalid format: {ex.Message}", ex);
151
=>
new
($"The credential public key was invalid.", ex);