Pages\Account\Login.cs (7)
28if (Context.ContosoLoginEnabled)
43return new Contoso.Login(Client, contosoLogin, Context);
51return new ForgotPassword(Client, forgotPassword, Context);
59return new ResendEmailConfirmation(Client, forgotPassword, Context);
73Context.WithAuthenticatedUser().WithPasswordLogin());
94return new DefaultUIPage(Client, lockout, Context);
115return new LoginWith2fa(Client, loginWithTwoFactor, Context);
Pages\Account\Manage\Index.cs (13)
25Assert.True(Context.UserAuthenticated);
31if (Context.ContosoLoginEnabled)
52var context = consent ? Context.WithCookieConsent() : Context;
60Context.TwoFactorEnabled = true;
61Context.CookiePolicyAccepted = true;
62return new TwoFactorAuthentication(Client, twoFactor, Context);
69return new ChangePassword(Client, changePasswordDocument, Context);
80return new SetPassword(Client, setPasswordDocument, Context);
87return new PersonalData(Client, personalData, Context);
94return new Email(Client, email, Context);
102return new LinkExternalLogin(Client, externalLoginDocument, Context);
110return new ExternalLogins(Client, externalLoginDocument, Context);