public JwtBinding(
     TokenValidatorService service,
     IOptions <JwtBindingConfiguration> configuration,
     IHttpContextAccessor http,
     ILogger <JwtBinding> logger)
 {
     _service       = service;
     _configuration = configuration;
     _http          = http;
     _logger        = logger;
 }
Exemplo n.º 2
0
 public void Setup()
 {
     _loggerMock = new Mock <ILogger <TokenValidatorService> >();
     _service    = new TokenValidatorService(_loggerMock.Object);
 }
Exemplo n.º 3
0
 public AuthFilterscs(TokenValidatorService tokenValidatorService)
 {
     _tokenValidatorService = tokenValidatorService;
 }