public AuthenticationFilter(IAuthorizationPolicyProvider provider, ITokenVerificator tokenVerificator, IUserStatusVerification userVerification) : base(provider, new[] { new AuthorizeData(ConfigurationConstants.JwtDefaultPolicy) }) { this._tokenVerificator = tokenVerificator; this._userVerification = userVerification; }
public LoginCommandHandler(IAccountRepository accountRepository, ITokenCreator tokenCreator, IUserStatusVerification userStatusVerification) { _accountRepository = accountRepository; _tokenCreator = tokenCreator; _userStatusVerification = userStatusVerification; }