Beispiel #1
0
 public ArbitraryResourceOwnerExtensionGrantValidator(
     ITokenValidator tokenValidator,
     IdentityServerOptions options,
     IClientStore clientStore,
     IRawClientSecretValidator clientSecretValidator,
     IResourceStore resourceStore,
     IEventService events,
     ISystemClock clock,
     IMemoryCache cache,
     ITokenResponseGenerator tokenResponseGenerator,
     ILogger <ArbitraryResourceOwnerExtensionGrantValidator> logger,
     ArbitraryResourceOwnerRequestValidator arbitraryResourceOwnerRequestValidator,
     PrincipalAugmenter principalAugmenter)
 {
     _tokenValidator         = tokenValidator;
     _logger                 = logger;
     _clock                  = clock;
     _cache                  = cache;
     _events                 = events;
     _clientSecretValidator  = clientSecretValidator;
     _options                = options;
     _clientStore            = clientStore;
     _resourceStore          = resourceStore;
     _tokenResponseGenerator = tokenResponseGenerator;
     _arbitraryResourceOwnerRequestValidator = arbitraryResourceOwnerRequestValidator;
     _principalAugmenter = principalAugmenter;
 }
 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;
 }