24 references to SignIn
IdentitySample.DefaultUI (2)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
104
if (_userManager.Options.
SignIn
.RequireConfirmedAccount)
Startup.cs (1)
45
services.AddDefaultIdentity<ApplicationUser>(o => o.
SignIn
.RequireConfirmedAccount = true)
Microsoft.AspNetCore.Identity (3)
SignInManager.cs (3)
138
if (Options.
SignIn
.RequireConfirmedEmail && !(await UserManager.IsEmailConfirmedAsync(user)))
143
if (Options.
SignIn
.RequireConfirmedPhoneNumber && !(await UserManager.IsPhoneNumberConfirmedAsync(user)))
148
if (Options.
SignIn
.RequireConfirmedAccount && !(await _confirmation.IsConfirmedAsync(UserManager, user)))
Microsoft.AspNetCore.Identity.FunctionalTests (13)
Infrastructure\FunctionalTestsServiceCollectionExtensions.cs (1)
42
services.Configure<IdentityOptions>(o => o.
SignIn
.RequireConfirmedEmail = true);
MapIdentityApiTests.cs (8)
488
options.
SignIn
.RequireConfirmedAccount = true;
513
options.
SignIn
.RequireConfirmedEmail = true;
538
options.
SignIn
.RequireConfirmedEmail = true;
598
options.
SignIn
.RequireConfirmedAccount = true;
641
options.
SignIn
.RequireConfirmedAccount = true;
958
options.
SignIn
.RequireConfirmedAccount = true;
1029
options.
SignIn
.RequireConfirmedAccount = true;
1120
options.
SignIn
.RequireConfirmedAccount = true;
RegistrationTests.cs (4)
44
void ConfigureTestServices(IServiceCollection services) { services.Configure<IdentityOptions>(o => o.
SignIn
.RequireConfirmedAccount = true); };
75
services.Configure<IdentityOptions>(o => o.
SignIn
.RequireConfirmedAccount = true);
138
services.Configure<IdentityOptions>(o => o.
SignIn
.RequireConfirmedAccount = true)
163
.Configure<IdentityOptions>(o => o.
SignIn
.RequireConfirmedAccount = true)
Microsoft.AspNetCore.Identity.Test (2)
SignInManagerTest.cs (2)
949
identityOptions.
SignIn
.RequireConfirmedEmail = true;
1004
identityOptions.
SignIn
.RequireConfirmedPhoneNumber = true;
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
211
if (_userManager.Options.
SignIn
.RequireConfirmedAccount)
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
150
if (_userManager.Options.
SignIn
.RequireConfirmedAccount)
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
211
if (_userManager.Options.
SignIn
.RequireConfirmedAccount)
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
150
if (_userManager.Options.
SignIn
.RequireConfirmedAccount)