public BitpayAuthorizationHandler(IHttpContextAccessor httpContextAccessor,
                                   StoreRepository storeRepository,
                                   TokenRepository tokenRepository)
 {
     _HttpContext     = httpContextAccessor.HttpContext;
     _storeRepository = storeRepository;
     _tokenRepository = tokenRepository;
 }
예제 #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;
 }