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