1 write to _options
Microsoft.AspNetCore.Identity (1)
PasskeyHandler.cs (1)
34
_options
= options.Value;
17 references to _options
Microsoft.AspNetCore.Identity (17)
PasskeyHandler.cs (17)
55
var challenge = RandomNumberGenerator.GetBytes(
_options
.ChallengeSize);
56
var pubKeyCredParams =
_options
.IsAllowedAlgorithm is { } isAllowedAlgorithm
73
Timeout = (uint)
_options
.AuthenticatorTimeout.TotalMilliseconds,
78
AuthenticatorAttachment =
_options
.AuthenticatorAttachment,
79
ResidentKey =
_options
.ResidentKeyRequirement,
82
Attestation =
_options
.AttestationConveyancePreference,
123
if (isConditionallyMediated && string.Equals("required",
_options
.UserVerificationRequirement, StringComparison.Ordinal))
128
return
_options
.UserVerificationRequirement;
139
var challenge = RandomNumberGenerator.GetBytes(
_options
.ChallengeSize);
144
Timeout = (uint)
_options
.AuthenticatorTimeout.TotalMilliseconds,
146
UserVerification =
_options
.UserVerificationRequirement,
425
if (
_options
.IsAllowedAlgorithm is { } isAllowedAlgorithm && !isAllowedAlgorithm((int)algorithm))
434
if (
_options
.VerifyAttestationStatement is { } verifyAttestationStatement)
765
var originalUserVerificationRequirement =
_options
.UserVerificationRequirement;
782
if (
_options
.ValidateOrigin is { } validateOrigin)
807
=>
_options
.ServerDomain ?? httpContext.Request.Host.Host;
810
=> (
_options
.TimeProvider ?? TimeProvider.System).GetUtcNow().UtcDateTime;