public AppAction <VerifyLoginForm, EmptyActionResult> CreateVerifyLoginAction() { var unverifiedUser = new UnverifiedUser(sp.GetService <AppFactory>()); var hashedPasswordFactory = sp.GetService <IHashedPasswordFactory>(); return(new VerifyLoginAction(unverifiedUser, hashedPasswordFactory)); }
public Authentication ( TempLogSession tempLog, UnverifiedUser unverifiedUser, IAccess access, IHashedPasswordFactory hashedPasswordFactory, CachedUserContext userContext ) { this.tempLog = tempLog; this.unverifiedUser = unverifiedUser; this.access = access; this.hashedPasswordFactory = hashedPasswordFactory; this.userContext = userContext; }
private Authentication createAuthentication(IAccess access) { var tempLogSession = sp.GetService <TempLogSession>(); var unverifiedUser = new UnverifiedUser(sp.GetService <AppFactory>()); var hashedPasswordFactory = sp.GetService <IHashedPasswordFactory>(); var userContext = sp.GetService <CachedUserContext>(); return(new Authentication ( tempLogSession, unverifiedUser, access, hashedPasswordFactory, userContext )); }
public VerifyLoginAction(UnverifiedUser unverifiedUser, IHashedPasswordFactory hashedPasswordFactory) { this.unverifiedUser = unverifiedUser; this.hashedPasswordFactory = hashedPasswordFactory; }