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