public UserAuthenticationHandler(IOptionsMonitor <UserAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, IServiceProvider serviceProvider)
     : base(options, logger, encoder, clock)
 {
     userFactory = serviceProvider.GetService <ILayIMUserFactory>();
 }
 public SignalRHandler(ILayIMUserFactory userFactory, ILayIMStorage storage)
 {
     this.userFactory = userFactory;
     this.storage     = storage;
 }