1 write to Options
Microsoft.AspNetCore.Authentication (1)
Events\BaseContext.cs (1)
27Options = options;
24 references to Options
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
717ClaimValueTypes.String, context.Options.ClaimsIssuer), 720ClaimValueTypes.String, context.Options.ClaimsIssuer)
Certificate.Sample (2)
Startup.cs (2)
24new Claim(ClaimTypes.NameIdentifier, context.ClientCertificate.Subject, ClaimValueTypes.String, context.Options.ClaimsIssuer), 25new Claim(ClaimTypes.Name, context.ClientCertificate.Subject, ClaimValueTypes.String, context.Options.ClaimsIssuer)
CookieSample (1)
Program.cs (1)
21context.ShouldRenew = context.ElapsedTime > (context.Options.ExpireTimeSpan / 4);
Microsoft.AspNetCore.Authentication.OAuth (2)
Events\OAuthCreatingTicketContext.cs (2)
115foreach (var action in Options.ClaimActions) 117action.Run(userData, Identity!, Options.ClaimsIssuer ?? Scheme.Name);
Microsoft.AspNetCore.Authentication.Test (7)
CertificateTests.cs (7)
583new Claim(ClaimTypes.Name, Expected, ClaimValueTypes.String, context.Options.ClaimsIssuer), 584new Claim("ValidationCount", validationCount.ToString(CultureInfo.InvariantCulture), ClaimValueTypes.String, context.Options.ClaimsIssuer) 654new Claim(ClaimTypes.Name, Expected, ClaimValueTypes.String, context.Options.ClaimsIssuer) 710new Claim(ClaimTypes.Name, Expected, ClaimValueTypes.String, context.Options.ClaimsIssuer), 711new Claim("ValidationCount", validationCount.ToString(CultureInfo.InvariantCulture), ClaimValueTypes.String, context.Options.ClaimsIssuer) 912new Claim(ClaimTypes.NameIdentifier, context.ClientCertificate.Subject, ClaimValueTypes.String, context.Options.ClaimsIssuer), 913new Claim(ClaimTypes.Name, context.ClientCertificate.Subject, ClaimValueTypes.String, context.Options.ClaimsIssuer)
Microsoft.AspNetCore.Identity (1)
SecurityStampValidator.cs (1)
113if (!context.Options.SlidingExpiration)
Microsoft.AspNetCore.Identity.Test (7)
SecurityStampValidatorTest.cs (7)
88Assert.NotNull(context.Options); 146Assert.NotNull(context.Options); 187Assert.NotNull(context.Options); 228Assert.NotNull(context.Options); 265Assert.NotNull(context.Options); 308Assert.NotNull(context.Options); 352Assert.NotNull(context.Options);
SocialSample (2)
Startup.cs (2)
137var request = new HttpRequestMessage(HttpMethod.Get, context.Options.UserInformationEndpoint); 198var request = new HttpRequestMessage(HttpMethod.Get, context.Options.UserInformationEndpoint);