1 write to Scheme
Microsoft.AspNetCore.Authentication (1)
88 references to Scheme
Aspire.Dashboard (1)
BasicWebSite (2)
Microsoft.AspNetCore.Authentication (14)
RemoteAuthenticationHandler.cs (6)
116var errorContext = new RemoteFailureContext(Context, Scheme, Options, exception)
146var ticketContext = new TicketReceivedContext(Context, Scheme, Options, ticket)
154ticketContext.Properties!.Items[AuthSchemeKey] = Scheme.Name;
206&& string.Equals(Scheme.Name, authenticatedScheme, StringComparison.Ordinal))
209ticket.Properties, Scheme.Name));
290var context = new AccessDeniedContext(Context, Scheme, Options)
Microsoft.AspNetCore.Authentication.Certificate (3)
Microsoft.AspNetCore.Authentication.Cookies (14)
CookieAuthenticationHandler.cs (14)
103var eventContext = new CookieSlidingExpirationContext(Context, Scheme, Options, ticket, timeElapsed, timeRemaining)
213var context = new CookieValidatePrincipalContext(Context, Scheme, Options, result.Ticket);
226return AuthenticateResult.Success(new AuthenticationTicket(context.Principal, context.Properties, Scheme.Name));
268Scheme.Name));
269ticket = new AuthenticationTicket(principal, null, Scheme.Name);
305Scheme,
353ticket = new AuthenticationTicket(principal, null, Scheme.Name);
366Scheme,
377Logger.AuthenticationSchemeSignedIn(Scheme.Name);
397Scheme,
413Logger.AuthenticationSchemeSignedOut(Scheme.Name);
443new RedirectContext<CookieAuthenticationOptions>(Context, Scheme, Options, properties, redirectUri));
470var redirectContext = new RedirectContext<CookieAuthenticationOptions>(Context, Scheme, Options, properties, BuildRedirectUri(accessDeniedUri));
484var redirectContext = new RedirectContext<CookieAuthenticationOptions>(Context, Scheme, Options, properties, BuildRedirectUri(loginUri));
Microsoft.AspNetCore.Authentication.Facebook (2)
Microsoft.AspNetCore.Authentication.Google (2)
Microsoft.AspNetCore.Authentication.JwtBearer (6)
JwtBearerHandler.cs (6)
62var messageReceivedContext = new MessageReceivedContext(Context, Scheme, Options);
153var tokenValidatedContext = new TokenValidatedContext(Context, Scheme, Options)
182var authenticationFailedContext = new AuthenticationFailedContext(Context, Scheme, Options)
207var authenticationFailedContext = new AuthenticationFailedContext(Context, Scheme, Options)
278var eventContext = new JwtBearerChallengeContext(Context, Scheme, Options, properties)
351var forbiddenContext = new ForbiddenContext(Context, Scheme, Options);
Microsoft.AspNetCore.Authentication.MicrosoftAccount (2)
Microsoft.AspNetCore.Authentication.Negotiate (6)
NegotiateHandler.cs (6)
269var errorContext = new AuthenticationFailedContext(Context, Scheme, Options) { Exception = ex };
340var ldapContext = new LdapContext(Context, Scheme, Options, Options.LdapSettings)
354authenticatedContext = new AuthenticatedContext(Context, Scheme, Options)
361authenticatedContext = new AuthenticatedContext(Context, Scheme, Options)
374var ticket = new AuthenticationTicket(authenticatedContext.Principal, authenticatedContext.Properties, Scheme.Name);
387var eventContext = new ChallengeContext(Context, Scheme, Options, properties);
Microsoft.AspNetCore.Authentication.OAuth (3)
OAuthHandler.cs (3)
256var context = new OAuthCreatingTicketContext(new ClaimsPrincipal(identity), properties, Context, Scheme, Options, Backchannel, tokens, user.RootElement);
258return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);
275Context, Scheme, Options,
Microsoft.AspNetCore.Authentication.OpenIdConnect (16)
OpenIdConnectHandler.cs (16)
131var remoteSignOutContext = new RemoteSignOutContext(Context, Scheme, Options, message);
249var redirectContext = new RedirectContext(Context, Scheme, Options, properties)
305Logger.AuthenticationSchemeSignedOut(Scheme.Name);
325var signOut = new RemoteSignOutContext(Context, Scheme, Options, message)
458var redirectContext = new RedirectContext(Context, Scheme, Options, properties)
557var context = new PushedAuthorizationContext(Context, Scheme, Options, parRequest, properties);
926return HandleRequestResult.Success(new AuthenticationTicket(user, properties, Scheme.Name));
1049return HandleRequestResult.Success(new AuthenticationTicket(principal, properties, Scheme.Name));
1054return HandleRequestResult.Success(new AuthenticationTicket(principal, properties, Scheme.Name));
1106return HandleRequestResult.Success(new AuthenticationTicket(principal, properties, Scheme.Name));
1211var context = new MessageReceivedContext(Context, Scheme, Options, properties)
1234var context = new TokenValidatedContext(Context, Scheme, Options, user, properties)
1279var context = new AuthorizationCodeReceivedContext(Context, Scheme, Options, properties)
1311var context = new TokenResponseReceivedContext(Context, Scheme, Options, user, properties)
1337var context = new UserInformationReceivedContext(Context, Scheme, Options, principal, properties)
1361var context = new AuthenticationFailedContext(Context, Scheme, Options)
Microsoft.AspNetCore.Authentication.Test (6)
Microsoft.AspNetCore.Authentication.Twitter (3)
Microsoft.AspNetCore.Authentication.WsFederation (8)
WsFederationHandler.cs (8)
116var redirectContext = new RedirectContext(Context, Scheme, Options, properties)
201var messageReceivedContext = new MessageReceivedContext(Context, Scheme, Options, properties)
233var securityTokenReceivedContext = new SecurityTokenReceivedContext(Context, Scheme, Options, properties)
333var securityTokenValidatedContext = new SecurityTokenValidatedContext(Context, Scheme, Options, principal, properties)
349return HandleRequestResult.Success(new AuthenticationTicket(principal, properties, Scheme.Name));
356var authenticationFailedContext = new AuthenticationFailedContext(Context, Scheme, Options)
449var redirectContext = new RedirectContext(Context, Scheme, Options, properties)
477var remoteSignOutContext = new RemoteSignOutContext(Context, Scheme, Options, message);