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;
 }
Пример #2
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;
 }