1 write to Scheme
Microsoft.AspNetCore.Authentication (1)
Events\BaseContext.cs (1)
26
Scheme
= scheme;
14 references to Scheme
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
723
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
Certificate.Sample (1)
Startup.cs (1)
28
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
Microsoft.AspNetCore.Authentication (2)
Events\RemoteAuthenticationContext.cs (1)
42
public void Success() => Result = HandleRequestResult.Success(new AuthenticationTicket(Principal!, Properties,
Scheme
.Name));
Events\ResultContext.cs (1)
51
public void Success() => Result = HandleRequestResult.Success(new AuthenticationTicket(Principal!, Properties,
Scheme
.Name));
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
335
var ticket = new AuthenticationTicket(signInContext.Principal!, signInContext.Properties, signInContext.
Scheme
.Name);
Microsoft.AspNetCore.Authentication.OAuth (1)
Events\OAuthCreatingTicketContext.cs (1)
117
action.Run(userData, Identity!, Options.ClaimsIssuer ??
Scheme
.Name);
Microsoft.AspNetCore.Authentication.Test (8)
CertificateTests.cs (4)
587
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
657
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
714
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
916
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
JwtBearerTests.cs (1)
235
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
JwtBearerTests_Handler.cs (1)
222
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
OpenIdConnect\OpenIdConnectEventTests.cs (1)
764
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
764
context.Principal = new ClaimsPrincipal(new ClaimsIdentity(claims, context.
Scheme
.Name));