public DeviceController(
     IDeviceFlowInteractionService interaction,
     IEventService eventService,
     IOptions <IdentityServerOptions> options,
     ILogger <DeviceController> logger)
 {
     _interaction = interaction;
     _events      = eventService;
     _options     = options;
     _logger      = logger;
 }
Example #2
0
 public DeviceController
 (
     IEventService eventService,
     IDeviceFlowInteractionService interactionService,
     IOptions <IdentityServerOptions> options
 )
 {
     _eventService       = eventService;
     _interactionService = interactionService;
     _options            = options;
 }
Example #3
0
 public Index(
     IDeviceFlowInteractionService interaction,
     IEventService eventService,
     IOptions <IdentityServerOptions> options,
     ILogger <Index> logger)
 {
     _interaction = interaction;
     _events      = eventService;
     _options     = options;
     _logger      = logger;
 }
Example #4
0
 public DeviceController(IDeviceFlowInteractionService interaction,
                         IClientStore clientStore,
                         IResourceStore resourceStore,
                         IEventService eventService,
                         ILogger <DeviceController> logger)
 {
     _interaction   = interaction;
     _clientStore   = clientStore;
     _resourceStore = resourceStore;
     _events        = eventService;
     _logger        = logger;
 }
 public DeviceController(
     IDeviceFlowInteractionService interaction,
     IClientStore clientStore,
     IResourceStore resourceStore,
     IEventService eventService,
     ILogger <DeviceController> logger)
 {
     this._Interaction   = interaction ?? throw new ArgumentNullException(nameof(interaction));
     this._ClientStore   = clientStore ?? throw new ArgumentNullException(nameof(clientStore));
     this._ResourceStore = resourceStore ?? throw new ArgumentNullException(nameof(resourceStore));
     this._Events        = eventService ?? throw new ArgumentNullException(nameof(eventService));
     this._Logger        = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Example #6
0
 public DeviceController(
     IDeviceFlowInteractionService interaction,
     IClientStore clientStore,
     IResourceStore resourceStore,
     IEventService eventService,
     ILogger <DeviceController> logger)
 {
     this.interaction   = interaction;
     this.clientStore   = clientStore;
     this.resourceStore = resourceStore;
     events             = eventService;
     this.logger        = logger;
 }
Example #7
0
 public DeviceController(
     IDeviceFlowInteractionService identityServerInteractionService,
     IClientStore clientStore,
     IResourceStore resourceStore,
     IEventService eventServiceService,
     ILogger <DeviceController> logger)
 {
     this.IdentityServerInteractionService = identityServerInteractionService;
     this.ClientStore   = clientStore;
     this.ResourceStore = resourceStore;
     this.EventService  = eventServiceService;
     this.Logger        = logger;
 }
 /// <summary>
 /// Constructor method
 /// </summary>
 /// <param name="logger">ILogger&lt;AccountController&gt;</param>
 /// <param name="webHostEnvironment">IWebHostEnvironment</param>
 /// <param name="httpContextAccessor">IHttpContextAccessor</param>
 /// <param name="interaction">IIdentityServerInteractionService</param>
 /// <param name="eventService">IEventService</param>
 /// <param name="options">IOptions&gt;IdentityServerOptions&lt;</param>
 /// <param name="appSettings">AppSettings</param>
 /// <method>
 /// DeviceController(
 ///     ILogger&lt;DeviceController&gt; logger,
 ///     IWebHostEnvironment webHostEnvironment,
 ///     IHttpContextAccessor httpContextAccessor,
 ///     IDeviceFlowInteractionService interaction,
 ///     IEventService eventService,
 ///     IOptions&lt;IdentityServerOptions&gt; options,
 ///     AppSettings appSettings
 /// ) : base(logger, webHostEnvironment, httpContextAccessor, appSettings)
 /// </method>
 public DeviceController(
     ILogger <DeviceController> logger,
     IWebHostEnvironment webHostEnvironment,
     IHttpContextAccessor httpContextAccessor,
     IDeviceFlowInteractionService interaction,
     IEventService eventService,
     IOptions <IdentityServerOptions> options,
     AppSettings appSettings
     ) : base(logger, webHostEnvironment, httpContextAccessor, appSettings)
 {
     _interaction = interaction;
     _events      = eventService;
     _options     = options;
 }
Example #9
0
 public DeviceController(
     IDeviceFlowInteractionService interaction,
     IClientStore clientStore,
     IResourceStore resourceStore,
     IEventService eventService,
     IOptions <NudesIdentityOptions> options,
     ILogger <DeviceController> logger)
 {
     this.options       = options.Value;
     this.interaction   = interaction;
     this.clientStore   = clientStore;
     this.resourceStore = resourceStore;
     this.eventsService = eventService;
     this.logger        = logger;
 }
Example #10
0
 public IdentityServerService(
     UserManager <IdentityUser> userManager,
     IIdentityServerInteractionService identityServerInteraction,
     IDeviceFlowInteractionService deviceFlowInteraction,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IResourceStore resourceStore,
     IEventService events)
 {
     this.userManager = userManager;
     this.identityServerInteraction = identityServerInteraction;
     this.deviceFlowInteraction     = deviceFlowInteraction;
     this.clientStore    = clientStore;
     this.schemeProvider = schemeProvider;
     this.resourceStore  = resourceStore;
     this.events         = events;
 }
Example #11
0
        public DeviceController(
            IDeviceFlowInteractionService interaction,
            IEventService eventService,
            IOptions <IdentityServerOptions> options,
            ILogger <DeviceController> logger,
            IStringLocalizerFactory factory)
        {
            _interaction = interaction;
            _events      = eventService;
            _options     = options;
            _logger      = logger;

            var type         = typeof(SharedResource);
            var assemblyName = new AssemblyName(type.GetTypeInfo().Assembly.FullName);

            _sharedLocalizer = factory.Create("SharedResource", assemblyName.Name);
        }
Example #12
0
 public IndexModel(
     IDeviceFlowInteractionService interaction, IOptions <IdentityServerOptions> options)
     : base(interaction)
 {
     _options = options;
 }
Example #13
0
 public SuccessModel(IDeviceFlowInteractionService interaction, IEventService events)
     : base(interaction)
 {
     _interaction = interaction;
     _events      = events;
 }
Example #14
0
 public DeviceController(IDeviceFlowInteractionService deviceFlowInteractionService,
                         IRepository <IdentityServerDbContext, IdentityServerClient> repository)
 {
     _deviceFlowInteractionService = deviceFlowInteractionService;
     _repository = repository;
 }
 public DeviceController(IFacade facade, IDeviceFlowInteractionService deviceInteraction) : base(facade)
 {
     this.DeviceInteraction = deviceInteraction ?? throw new ArgumentNullException(nameof(deviceInteraction));
 }
Example #16
0
 public DeviceAuthorizer(IDeviceFlowInteractionService interaction, IAuthenticationFrontend frontend)
 {
     _interaction = interaction;
     _frontend    = frontend;
 }
 public CommandHandler(IHttpContextAccessor contextAccessor, IDeviceFlowInteractionService interaction)
 {
     _contextAccessor = contextAccessor;
     _interaction     = interaction;
 }
Example #18
0
 protected DeviceAuthorizationPageModel(IDeviceFlowInteractionService interaction)
 {
     _interaction = interaction;
 }