Ejemplo n.º 1
0
 public AccountController(ILogger <AccountController> logger, IApiHelper apiHelper, ISignInManager signInManager,
                          IAccountsEndpoint accountsEndpoint, IAuthenticationEndpoint authenticationEndpoint)
 {
     _logger                 = logger;
     _apiHelper              = apiHelper;
     _accountsEndpoint       = accountsEndpoint;
     _authenticationEndpoint = authenticationEndpoint;
     _signInManager          = signInManager;
 }
Ejemplo n.º 2
0
 public SignInManager(IHttpContextAccessor httpContextAccessor, IAccountsEndpoint accountsEndpoint, IApiHelper apiHelper,
                      IJwtTokenAccessor tokenAccessor, IAuthenticationEndpoint authenticationEndpoint)
 {
     _httpContextAccessor    = httpContextAccessor;
     _accountsEndpoint       = accountsEndpoint;
     _apiHelper              = apiHelper;
     _tokenAccessor          = tokenAccessor;
     _authenticationEndpoint = authenticationEndpoint;
 }