public ArbitraryOpenIdConnectIdentityTokenExtensionGrantValidator(
     IdentityServerOptions options,
     IClientStore clientStore,
     IRawClientSecretValidator clientSecretValidator,
     IResourceStore resourceStore,
     IEventService events,
     ISystemClock clock,
     ITokenResponseGenerator tokenResponseGenerator,
     ILogger <ArbitraryOpenIdConnectIdentityTokenExtensionGrantValidator> logger,
     ArbitraryOpenIdConnectIdentityTokenRequestValidator arbitraryOpenIdConnectIdentityTokenRequestValidator,
     PrincipalAugmenter principalAugmenter,
     ProviderValidatorManager providerValidatorManager,
     IMemoryCache cache)
 {
     _cache  = cache;
     _logger = logger;
     _clock  = clock;
     _events = events;
     _clientSecretValidator = clientSecretValidator;
     _options                = options;
     _clientStore            = clientStore;
     _resourceStore          = resourceStore;
     _tokenResponseGenerator = tokenResponseGenerator;
     _arbitraryOpenIdConnectIdentityTokenRequestValidator = arbitraryOpenIdConnectIdentityTokenRequestValidator;
     _principalAugmenter       = principalAugmenter;
     _providerValidatorManager = providerValidatorManager;
 }
 public ArbitraryResourceOwnerExtensionGrantValidator(
     IdentityServerOptions options,
     IClientSecretValidator clientValidator,
     ILogger <ArbitraryResourceOwnerExtensionGrantValidator> logger,
     ArbitraryResourceOwnerRequestValidator arbitraryResourceOwnerRequestValidator,
     PrincipalAugmenter principalAugmenter,
     IHttpContextAccessor httpContextAccessor)
 {
     _logger          = logger;
     _options         = options;
     _clientValidator = clientValidator;
     _arbitraryResourceOwnerRequestValidator = arbitraryResourceOwnerRequestValidator;
     _principalAugmenter  = principalAugmenter;
     _httpContextAccessor = httpContextAccessor;
 }
 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;
 }
Beispiel #4
0
 public ArbitraryNoSubjectExtensionGrantValidator(
     IdentityServerOptions options,
     IClientStore clientStore,
     IRawClientSecretValidator clientSecretValidator,
     IResourceStore resourceStore,
     IEventService events,
     ISystemClock clock,
     ITokenResponseGenerator tokenResponseGenerator,
     ILogger <ArbitraryNoSubjectExtensionGrantValidator> logger,
     ArbitraryNoSubjectRequestValidator arbitraryNoSubjectRequestValidator,
     PrincipalAugmenter principalAugmenter)
 {
     _logger = logger;
     _clock  = clock;
     _events = events;
     _clientSecretValidator = clientSecretValidator;
     _options                            = options;
     _clientStore                        = clientStore;
     _resourceStore                      = resourceStore;
     _tokenResponseGenerator             = tokenResponseGenerator;
     _arbitraryNoSubjectRequestValidator = arbitraryNoSubjectRequestValidator;
     _principalAugmenter                 = principalAugmenter;
 }