52 references to SignOutAsync
Aspire.Dashboard (1)
DashboardEndpointsBuilder.cs (1)
77await Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions.SignOutAsync(
Identity.ExternalClaims (3)
Pages\Account\Login.cshtml.cs (1)
61await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
Pages\Account\Manage\ExternalLogins.cshtml.cs (2)
76await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme); 105await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
Microsoft.AspNetCore.Authentication.Core.Test (4)
AuthenticationServiceTests.cs (4)
146await context.SignOutAsync("uber"); 147var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => context.SignOutAsync("base")); 150await context.SignOutAsync("signout"); 151await context.SignOutAsync("signin");
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
200await Context.SignOutAsync(Options.SignOutScheme);
Microsoft.AspNetCore.Authentication.Test (20)
CookieTests.cs (5)
130return context.SignOutAsync("Oops"); 549ctx.HttpContext.SignOutAsync("Cookies"); 1411app.Map("/notlogout", signoutApp => signoutApp.Run(context => context.SignOutAsync("Cookies"))); 1433app.Map("/logout", signoutApp => signoutApp.Run(context => context.SignOutAsync("Cookies"))); 1845await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
GoogleTests.cs (1)
1217await Assert.ThrowsAsync<InvalidOperationException>(() => context.SignOutAsync("Google"));
JwtBearerTests.cs (1)
1225await Assert.ThrowsAsync<InvalidOperationException>(() => context.SignOutAsync(JwtBearerDefaults.AuthenticationScheme));
JwtBearerTests_Handler.cs (1)
1293await Assert.ThrowsAsync<InvalidOperationException>(() => context.SignOutAsync(JwtBearerDefaults.AuthenticationScheme));
MicrosoftAccountTests.cs (1)
409await Assert.ThrowsAsync<InvalidOperationException>(() => context.SignOutAsync("Microsoft"));
OpenIdConnect\OpenIdConnectEventTests.cs (2)
963return context.SignOutAsync(OpenIdConnectDefaults.AuthenticationScheme); 990return context.SignOutAsync(OpenIdConnectDefaults.AuthenticationScheme);
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (2)
963return context.SignOutAsync(OpenIdConnectDefaults.AuthenticationScheme); 990return context.SignOutAsync(OpenIdConnectDefaults.AuthenticationScheme);
OpenIdConnect\TestServerBuilder.cs (1)
93await context.SignOutAsync(OpenIdConnectDefaults.AuthenticationScheme);
PolicyTests.cs (5)
101await context.SignOutAsync("forward"); 157await context.SignOutAsync("forward"); 218await context.SignOutAsync("forward"); 270await context.SignOutAsync("forward"); 327await context.SignOutAsync("forward");
TwitterTests.cs (1)
560await Assert.ThrowsAsync<InvalidOperationException>(() => context.SignOutAsync("Twitter"));
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
496await Context.SignOutAsync(Options.SignOutScheme);
Microsoft.AspNetCore.Identity (10)
SecurityStampValidator.cs (1)
160await SignInManager.Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (9)
332await Context.SignOutAsync(AuthenticationScheme); 336await Context.SignOutAsync(IdentityConstants.ExternalScheme); 340await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 845await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 883await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 952await Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 1024await Context.SignOutAsync(IdentityConstants.ExternalScheme); 1029await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1408await Context.SignOutAsync(IdentityConstants.ExternalScheme);
Microsoft.AspNetCore.Identity.UI (6)
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
113await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (2)
130await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme); 161await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
113await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (2)
130await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme); 161await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
OpenIdConnectSample (3)
Startup.cs (3)
163await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme); 175await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme); 195await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
SocialSample (1)
Startup.cs (1)
400await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
WsFedSample (2)
Startup.cs (2)
58await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme); 70await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);