2 writes to IsAllowedAlgorithm
Microsoft.AspNetCore.Identity.Test (2)
Passkeys\PasskeyHandlerAttestationTest.cs (2)
877
test.PasskeyOptions.
IsAllowedAlgorithm
= alg => alg == algorithm;
900
test.PasskeyOptions.
IsAllowedAlgorithm
= alg => alg != algorithm;
3 references to IsAllowedAlgorithm
Microsoft.AspNetCore.Identity (2)
PasskeyHandler.cs (2)
46
var pubKeyCredParams = _options.
IsAllowedAlgorithm
is { } isAllowedAlgorithm
301
if (_options.
IsAllowedAlgorithm
is { } isAllowedAlgorithm && !isAllowedAlgorithm((int)algorithm))
Microsoft.AspNetCore.Identity.Test (1)
IdentityPasskeyOptionsTest.cs (1)
20
Assert.Null(options.
IsAllowedAlgorithm
);