34 references to ExternalScheme
Identity.ExternalClaims (3)
Pages\Account\Login.cshtml.cs (1)
61
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
Pages\Account\Manage\ExternalLogins.cshtml.cs (2)
76
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
105
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
IdentitySample.Mvc (1)
Startup.cs (1)
46
o.DefaultSignInScheme = IdentityConstants.
ExternalScheme
;
Microsoft.AspNetCore.Identity (13)
IdentityCookiesBuilderExtensions.cs (3)
67
builder.AddCookie(IdentityConstants.
ExternalScheme
, o =>
69
o.Cookie.Name = IdentityConstants.
ExternalScheme
;
72
return new OptionsBuilder<CookieAuthenticationOptions>(builder.Services, IdentityConstants.
ExternalScheme
);
IdentityServiceCollectionExtensions.cs (4)
57
options.DefaultSignInScheme = IdentityConstants.
ExternalScheme
;
67
.AddCookie(IdentityConstants.
ExternalScheme
, o =>
69
o.Cookie.Name = IdentityConstants.
ExternalScheme
;
170
=> services.Configure(IdentityConstants.
ExternalScheme
, configure);
SignInManager.cs (6)
255
if (await _schemes.GetSchemeAsync(IdentityConstants.
ExternalScheme
) != null)
257
await Context.SignOutAsync(IdentityConstants.
ExternalScheme
);
508
if (await _schemes.GetSchemeAsync(IdentityConstants.
ExternalScheme
) != null)
510
await Context.SignOutAsync(IdentityConstants.
ExternalScheme
);
689
var auth = await Context.AuthenticateAsync(IdentityConstants.
ExternalScheme
);
846
await Context.SignOutAsync(IdentityConstants.
ExternalScheme
);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\FunctionalTestsServiceCollectionExtensions.cs (1)
28
.AddContosoAuthentication(o => o.SignInScheme = IdentityConstants.
ExternalScheme
)
Microsoft.AspNetCore.Identity.Test (9)
IdentityOptionsTest.cs (1)
88
Assert.Equal("b", options.Get(IdentityConstants.
ExternalScheme
).Cookie.Name);
SignInManagerTest.cs (8)
538
auth.Setup(a => a.SignOutAsync(context, IdentityConstants.
ExternalScheme
, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
684
auth.Setup(a => a.SignOutAsync(context, IdentityConstants.
ExternalScheme
, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
821
auth.Setup(a => a.SignOutAsync(context, IdentityConstants.
ExternalScheme
, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
1043
auth.Setup(s => s.AuthenticateAsync(context, IdentityConstants.
ExternalScheme
)).ReturnsAsync(authResult);
1074
auth.Setup(s => s.AuthenticateAsync(context, IdentityConstants.
ExternalScheme
)).ReturnsAsync(authResult);
1106
auth.Setup(s => s.AuthenticateAsync(context, IdentityConstants.
ExternalScheme
)).ReturnsAsync(authResult);
1355
[IdentityConstants.
ExternalScheme
] = CreateCookieScheme(IdentityConstants.
ExternalScheme
),
Microsoft.AspNetCore.Identity.UI (7)
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
113
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (2)
130
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
161
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
113
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (2)
130
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
161
await HttpContext.SignOutAsync(IdentityConstants.
ExternalScheme
);
IdentityServiceCollectionUIExtensions.cs (1)
44
o.DefaultSignInScheme = IdentityConstants.
ExternalScheme
;