public BitpayAuthorizationHandler(IHttpContextAccessor httpContextAccessor,
                                   StoreRepository storeRepository,
                                   TokenRepository tokenRepository)
 {
     _HttpContext     = httpContextAccessor.HttpContext;
     _storeRepository = storeRepository;
     _tokenRepository = tokenRepository;
 }
Exemplo n.º 2
0
 public BitpayAuthenticationHandler(
     TokenRepository tokenRepository,
     StoreRepository storeRepository,
     IOptionsMonitor <BitpayAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
 {
     _TokenRepository = tokenRepository;
     _StoreRepository = storeRepository;
 }