Exemplo n.º 1
0
 public AuthenticationService(ITokenManager tokenManager, IAuthenticationProxy authenticationProxy, IUserContext userContext)
 {
     _tokenManager        = tokenManager;
     _authenticationProxy = authenticationProxy;
     _userContext         = userContext;
 }
 public UserAccountController()
 {
     this.FormsAuthenticationService = DependencyFactory.Resolve<IAuthenticationProxy>();
     this.FormsMembershipService = DependencyFactory.Resolve<IMembershipProxy>();
     this.FormsProfileService = DependencyFactory.Resolve<IProfileProxy>();
 }