예제 #1
0
 public UserController(ISignInRequestService signInService,
                       IAccountsRequestService accountsRequestService,
                       IAuthenticateRequestService authenticateRequestService,
                       ISSOAuthenticationRequestService sSOAuthenticationRequestService,
                       IDataProtectionProvider dataProtectorProvider)
 {
     _signInService                   = signInService;
     _accountsRequestService          = accountsRequestService;
     _authenticateRequestService      = authenticateRequestService;
     _sSOAuthenticationRequestService = sSOAuthenticationRequestService;
     _dataProtector                   = dataProtectorProvider.CreateProtector(SecurityConstant.AQSecurityMasterProtector);
 }
예제 #2
0
        public FrontEndController(IAuthenticateRequestService authenticateRequestService,
                                  IAccountsRequestService accountsRequestService,
                                  ISignInRequestService signInRequestService)
        {
            _signInRequestService         = signInRequestService;
            _signInRequestService.BaseUrl = "https://localhost:44393/";

            _accountsRequestService         = accountsRequestService;
            _accountsRequestService.BaseUrl = "https://localhost:44393/";

            _authenticateRequestService         = authenticateRequestService;
            _authenticateRequestService.BaseUrl = "https://localhost:44393/";
        }