public FindProfileController( IUserStore userStore = null, IUserProfileFactory userProfileFactory = null) { _userStore = userStore ?? new UserStore(); _userProfileFactory = userProfileFactory ?? new UserProfileFactory(); }
public WebLoginUser( IUserProfileFactory userProfileFactory, ISitecoreVirtualUsernameFactory virtualUsernameFactory, IWebLoginUserActions loginActions) { UserProfileFactory = userProfileFactory; VirtualUsernameFactory = virtualUsernameFactory; LoginActions = loginActions; }