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