예제 #1
0
 public ProductsController(
     ICatalogService catalogService,
     IMapper mapper,
     ICurrentTokenService currentTokenService)
 {
     this.catalogService      = catalogService;
     this.currentTokenService = currentTokenService;
     this.mapper = mapper;
 }
 public JwtCookieAuthenticationMiddleware(ICurrentTokenService currentToken)
 => this.currentToken = currentToken;
예제 #3
0
 public StatisticsController(ApplicationSettings appSettings, ICurrentTokenService tokenService)
 {
     this.appSettings  = appSettings;
     this.tokenService = tokenService;
 }
 public JwtHeaderAuthenticationMiddleware(ICurrentTokenService currentToken)
 {
     this.currentToken = currentToken;
 }