예제 #1
0
 public RolesAuthorizationHandler(
     IHttpContextAccessor httpContextAccesor,
     IApplicationSerializationService applicationSerializationService) : base()
 {
     _applicationSerializationService = applicationSerializationService;
     _httpContextAccesor = httpContextAccesor;
 }
예제 #2
0
 public ApiKeyAuthenticationHandler(
     IOptionsMonitor <ApiKeyAuthenticationSchemeOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     IApplicationRepository <UserInfo> applicationUserRepository,
     IApplicationSerializationService applicationSerializationService)
     : base(options, logger, encoder, clock)
 {
     _applicationUserRepository       = applicationUserRepository;
     _applicationSerializationService = applicationSerializationService;
 }