Esempio n. 1
0
        public MembershipRebootUserService(DefaultUserAccountServiceContainer container)
        {
            if (container == null)
            {
                throw new ArgumentNullException("container");
            }

            this.userAccountService = container.Service;
        }
Esempio n. 2
0
 /// <summary>
 /// Instantiates a new instance of the <see cref="RegisterController"/>
 /// </summary>
 /// <param name="container">A non-null user account service container against which new users can be registered.</param>
 public RegisterController(DefaultUserAccountServiceContainer container)
 {
     _userAccountService = container.Service;
 }
 public UserClaimController(EnvConfig cfg, DefaultUserAccountServiceContainer container)
 {
     this._cfg = cfg;
     this._userAccountService = container.Service;
 }
 // Even though this is an admin area, we don't need AdminUserAccountServiceContainer as long as this does not create accounts
 public UserProfileController(DefaultUserAccountServiceContainer container)
 {
     this._userAccountService = container.Service;
 }
Esempio n. 5
0
 public ChangePasswordController(DefaultUserAccountServiceContainer container)
 {
     this.userAccountService = container.Service;
 }
Esempio n. 6
0
 public ProfileController(DefaultUserAccountServiceContainer container, AuthenticationService <HierarchicalUserAccount> authSvc)
 {
     this._userAccountService = container.Service;
     this._authSvc            = authSvc;
 }