예제 #1
0
 public ArbitraryNoSubjectExtensionGrantValidator(
     IClientSecretValidator clientValidator,
     IdentityServerOptions options,
     ILogger <ArbitraryNoSubjectExtensionGrantValidator> logger,
     ArbitraryNoSubjectRequestValidator arbitraryNoSubjectRequestValidator,
     IHttpContextAccessor httpContextAccessor)
 {
     _clientValidator = clientValidator;
     _logger          = logger;
     _options         = options;
     _arbitraryNoSubjectRequestValidator = arbitraryNoSubjectRequestValidator;
     _httpContextAccessor = httpContextAccessor;
 }
예제 #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;
 }