12 references to new
Microsoft.AspNetCore.Identity (12)
PasskeyExceptionExtensions.cs (10)
76=> new($"An exception occurred while parsing the attestation object: {ex.Message}", ex); 79=> new("The attestation object had an invalid format.", ex); 94=> new($"The authenticator data had an invalid format.", ex); 100=> new($"The attested credential data had an invalid format.", ex); 109=> new($"The attestation credential JSON had an invalid format: {ex.Message}", ex); 115=> new($"The assertion credential JSON had an invalid format: {ex.Message}", ex); 121=> new($"The client data JSON had an invalid format: {ex.Message}", ex); 124=> new($"The credential public key was invalid.", ex); 133=> new($"The attestation state JSON had an invalid format: {ex.Message}", ex); 136=> new($"The assertion state JSON had an invalid format: {ex.Message}", ex);
PasskeyHandler.cs (2)
180return PasskeyAttestationResult.Fail(new PasskeyException($"An unexpected error occurred during passkey attestation: {ex.Message}", ex)); 204return PasskeyAssertionResult.Fail<TUser>(new PasskeyException($"An unexpected error occurred during passkey assertion: {ex.Message}", ex));