Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BackchannelAuthenticationResponseGenerator"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 /// <param name="backChannelAuthenticationRequestStore"></param>
 /// <param name="userLoginService"></param>
 /// <param name="clock">The clock.</param>
 /// <param name="logger">The logger.</param>
 public BackchannelAuthenticationResponseGenerator(IdentityServerOptions options,
                                                   IBackChannelAuthenticationRequestStore backChannelAuthenticationRequestStore,
                                                   IBackchannelAuthenticationUserNotificationService userLoginService,
                                                   ISystemClock clock,
                                                   ILogger <BackchannelAuthenticationResponseGenerator> logger)
 {
     Options = options;
     BackChannelAuthenticationRequestStore = backChannelAuthenticationRequestStore;
     UserLoginService = userLoginService;
     Clock            = clock;
     Logger           = logger;
 }
 public BackchannelAuthenticationRequestIdValidator(
     IBackChannelAuthenticationRequestStore backchannelAuthenticationStore,
     IProfileService profile,
     IBackchannelAuthenticationThrottlingService throttlingService,
     ISystemClock systemClock,
     ILogger <BackchannelAuthenticationRequestIdValidator> logger)
 {
     _backchannelAuthenticationStore = backchannelAuthenticationStore;
     _profile           = profile;
     _throttlingService = throttlingService;
     _systemClock       = systemClock;
     _logger            = logger;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Ctor
 /// </summary>
 public DefaultBackchannelAuthenticationInteractionService(
     IBackChannelAuthenticationRequestStore requestStore,
     IClientStore clients,
     IUserSession session,
     IResourceValidator resourceValidator,
     ISystemClock systemClock,
     ILogger <DefaultBackchannelAuthenticationInteractionService> logger
     )
 {
     _requestStore      = requestStore;
     _clientStore       = clients;
     _session           = session;
     _resourceValidator = resourceValidator;
     _systemClock       = systemClock;
     _logger            = logger;
 }