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; }
public DeviceFlowCodesService(IDeviceFlowCodesRepository deviceFlowCodesRepository, IDeviceFlowStore deviceFlowStore) { DeviceFlowCodesRepository = deviceFlowCodesRepository; }
public DeviceFlowStore_Tests() { _deviceFlowStore = GetRequiredService <IDeviceFlowStore>(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultDeviceFlowCodeService"/> class. /// </summary> /// <param name="store">The store.</param> /// <param name="handleGenerationService">The handle generation service.</param> public DefaultDeviceFlowCodeService(IDeviceFlowStore store, IHandleGenerationService handleGenerationService) { _store = store; _handleGenerationService = handleGenerationService; }
public DeviceFlowController(IDeviceFlowStore store) { _store = store; }