Ejemplo n.º 1
0
 public TokenExchangeGrantValidator(
     IScopedContext <TenantRequestContext> scopedTenantRequestContext,
     IScopedStorage scopedStorage,
     IResourceStore resourceStore,
     IScopedOptionalClaims scopedOptionalClaims,
     IConsentExternalService consentExternalService,
     IExternalServicesStore externalServicesStore,
     IScopedOverrideRawScopeValues scopedOverrideRawScopeValues,
     ISerializer serializer,
     IConsentDiscoveryCacheAccessor consentDiscoveryCacheAccessor,
     IOptions <TokenExchangeOptions> tokenExchangeOptions,
     IIdentityTokenValidator identityTokenValidator,
     ITokenValidator tokenValidator,
     ILogger <TokenExchangeGrantValidator> logger)
 {
     _scopedTenantRequestContext = scopedTenantRequestContext;
     _scopedStorage                 = scopedStorage;
     _serializer                    = serializer;
     _resourceStore                 = resourceStore;
     _scopedOptionalClaims          = scopedOptionalClaims;
     _consentExternalService        = consentExternalService;
     _externalServicesStore         = externalServicesStore;
     _scopedOverrideRawScopeValues  = scopedOverrideRawScopeValues;
     _consentDiscoveryCacheAccessor = consentDiscoveryCacheAccessor;
     _tokenExchangeOptions          = tokenExchangeOptions.Value;
     _identityTokenValidator        = identityTokenValidator;
     _tokenValidator                = tokenValidator;
     _logger = logger;
 }
 public DeviceCodeBackChannelController(
     IExternalServicesStore externalServicesStore,
     IOptions <TokenExchangeOptions> tokenExchangeOptions,
     IIdentityTokenValidator identityTokenValidator,
     IConsentExternalService consentExternalService,
     IConsentDiscoveryCacheAccessor consentDiscoveryCacheAccessor,
     IClientSecretValidator clientValidator,
     IDeviceFlowStore deviceFlowStore,
     ISerializer serializer,
     ICoreMapperAccessor coreMapperAccessor,
     IEventService events,
     ILogger <DeviceCodeBackChannelController> logger)
 {
     _externalServicesStore         = externalServicesStore;
     _tokenExchangeOptions          = tokenExchangeOptions.Value;
     _identityTokenValidator        = identityTokenValidator;
     _consentExternalService        = consentExternalService;
     _consentDiscoveryCacheAccessor = consentDiscoveryCacheAccessor;
     _clientValidator    = clientValidator;
     _deviceFlowStore    = deviceFlowStore;
     _serializer         = serializer;
     _coreMapperAccessor = coreMapperAccessor;
     _events             = events;
     _logger             = logger;
 }
Ejemplo n.º 3
0
 public AuthorizeConsentModel(
     IConsentExternalService consentExternalService,
     IConsentDiscoveryCacheAccessor consentDiscoveryCacheAccessor,
     IOIDCConsentOrchestratorAdmin oidcConsentOrchestratorAdmin,
     IOIDCPipeLineKey oidcPipelineKey,
     IOIDCPipelineStore oidcPipelineStore,
     IFluffyBunnyTokenService fluffyBunnyTokenService,
     IOptions <FluffyBunny4TokenServiceConfiguration> optionsFluffyBunny4TokenServiceConfiguration,
     ITokenServiceDiscoveryCache tokenServiceDiscoveryCache,
     ISerializer serializer,
     ILogger <AuthorizeConsentModel> logger)
 {
     _consentExternalService        = consentExternalService;
     _consentDiscoveryCacheAccessor = consentDiscoveryCacheAccessor;
     _oidcConsentOrchestratorAdmin  = oidcConsentOrchestratorAdmin;
     _oidcPipelineKey         = oidcPipelineKey;
     _oidcPipelineStore       = oidcPipelineStore;
     _fluffyBunnyTokenService = fluffyBunnyTokenService;
     _FluffyBunny4TokenServiceConfiguration = optionsFluffyBunny4TokenServiceConfiguration.Value;
     _tokenServiceDiscoveryCache            = tokenServiceDiscoveryCache;
     _serializer = serializer;
     _logger     = logger;
 }