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