public AccountsController( IAuthenticationAppService authAppService, IMapper mapper) { _authAppService = authAppService; _mapper = mapper; }
public AuthenticationController(IAuthenticationAppService authenticationAppService, IConfiguration configuration) { _authenticationAppService = authenticationAppService; _smsManager = new SMSManager(configuration); _tokenManager = new TokenManager(configuration); _resources = LocalizationFactory.CreateLocalResources(); }
public AccountController(ILoggerFactory loggerFactory, IAuthenticationAppService authenticacion, IAuthorizationAppService authorization, IUserAppService userAppService) { this.logger = loggerFactory.CreateLogger <AccountController>(); this.authenticacion = authenticacion; this.authorization = authorization; this.userAppService = userAppService; }
public AuthenticationController(IConfiguration configuration, IAuthenticationAppService authenticationAppService, ILogger <AuthenticationController> logger) { _configuration = configuration; _authenticationAppService = authenticationAppService; _logger = logger; }
public AccountController( IAuthenticationAppService authenticationAppService, IOptions <JwtTokenConfiguration> jwtTokenConfiguration, IConfiguration configuration, IEmailSender emailSender) { _authenticationAppService = authenticationAppService; _configuration = configuration; _emailSender = emailSender; _jwtTokenConfiguration = jwtTokenConfiguration.Value; }
private static void ManageSecurityToken(IAuthenticationAppService authenticationAppService, HttpResponseMessage response, string authToken) { if (string.IsNullOrWhiteSpace(authToken)) { try { authToken = response.Headers.GetValues(authenticationAppService.TokenName)?.FirstOrDefault(); } catch { } } if (!string.IsNullOrWhiteSpace(authToken)) { authToken = authenticationAppService.CreateToken(); if (!string.IsNullOrWhiteSpace(authToken)) { response.SetCookie(authenticationAppService.TokenName, authToken, authenticationAppService.Expires); } } }
public AuthenticationController(IAuthenticationAppService authenticationAppService, IConfiguration configuration) { _authenticationAppService = authenticationAppService; _tokenManager = new TokenManager(configuration); }
public AuthenticationController(IAuthenticationAppService authenticacaoAppService) { _authenticationAppService = authenticacaoAppService; }
public AuthenticationController(IAuthenticationAppService authenticationAppService) : base(null) { _authenticationAppService = authenticationAppService; }
public AccountsSyncController(IAuthenticationAppService authAppService) { _authAppService = authAppService; }
private static void SaveContext(HttpRequestMessage request, IAuthenticationAppService authenticationAppService) => request.Properties.Add("User", authenticationAppService.User);
public TokenValidatorHandler(IAuthenticationAppService authenticationAppService) { _authenticationAppService = authenticationAppService; }
public AuthenticationController(ILogger <TokenAuthentication> logger, IConfiguration configuration, IAuthenticationAppService authenticationAppService) : base(logger) { this._configuration = configuration; this._authenticationAppService = authenticationAppService; }
public AuthenticationController(INotificationHandler <DomainNotification> notifications, IAuthenticationAppService authenticationAppService, IConfiguration configuration) : base(notifications) { _authenticationAppService = authenticationAppService; _configuration = configuration; }