public ArbitraryIdentityExtensionGrantValidator(
     ITokenValidator tokenValidator,
     IdentityServerOptions options,
     IClientStore clientStore,
     IRawClientSecretValidator clientSecretValidator,
     IResourceStore resourceStore,
     IEventService events,
     ISystemClock clock,
     IMemoryCache cache,
     ITokenResponseGenerator tokenResponseGenerator,
     ILogger <ArbitraryIdentityExtensionGrantValidator> logger,
     ArbitraryIdentityRequestValidator arbitraryIdentityRequestValidator,
     PrincipalAugmenter principalAugmenter)
 {
     _tokenValidator                    = tokenValidator;
     _logger                            = logger;
     _clock                             = clock;
     _cache                             = cache;
     _events                            = events;
     _clientSecretValidator             = clientSecretValidator;
     _options                           = options;
     _clientStore                       = clientStore;
     _resourceStore                     = resourceStore;
     _tokenResponseGenerator            = tokenResponseGenerator;
     _arbitraryIdentityRequestValidator = arbitraryIdentityRequestValidator;
     _principalAugmenter                = principalAugmenter;
 }
 public ArbitraryIdentityExtensionGrantValidator(
     IServiceProvider serviceProvider,
     IClientSecretValidator clientValidator,
     ITokenValidator tokenValidator,
     IdentityServerOptions options,
     IResourceStore resourceStore,
     ILogger <ArbitraryIdentityExtensionGrantValidator> logger,
     ArbitraryIdentityRequestValidator arbitraryIdentityRequestValidator,
     PrincipalAugmenter principalAugmenter,
     IHttpContextAccessor httpContextAccessor)
 {
     _serviceProvider = serviceProvider;
     _clientValidator = clientValidator;
     _tokenValidator  = tokenValidator;
     _logger          = logger;
     _options         = options;
     _resourceStore   = resourceStore;
     _arbitraryIdentityRequestValidator = arbitraryIdentityRequestValidator;
     _principalAugmenter  = principalAugmenter;
     _httpContextAccessor = httpContextAccessor;
 }