public AuthenticationController(
     OwinEnvironmentService owin,
     IViewService viewService, 
     IUserService userService, 
     IdentityServerOptions idSvrOptions, 
     IClientStore clientStore, 
     IEventService eventService,
     ILocalizationService localizationService,
     SessionCookie sessionCookie, 
     MessageCookie<SignInMessage> signInMessageCookie,
     MessageCookie<SignOutMessage> signOutMessageCookie,
     LastUserNameCookie lastUsernameCookie,
     AntiForgeryToken antiForgeryToken)
 {
     this.context = new OwinContext(owin.Environment);
     this.viewService = viewService;
     this.userService = userService;
     this.options = idSvrOptions;
     this.clientStore = clientStore;
     this.eventService = eventService;
     this.localizationService = localizationService;
     this.sessionCookie = sessionCookie;
     this.signInMessageCookie = signInMessageCookie;
     this.signOutMessageCookie = signOutMessageCookie;
     this.lastUsernameCookie = lastUsernameCookie;
     this.antiForgeryToken = antiForgeryToken;
 }
 public HrdUserService(OwinEnvironmentService env)
     : base(users)
 {
     this.context = new OwinContext(env.Environment);
 }
 public UserService(List<InMemoryUser> users, OwinEnvironmentService env) : base(users)
 {
     ctx = new OwinContext(env.Environment);
 }
 public LocaleViewServices(OwinEnvironmentService owin, IdentityServerViewLocalizationOptions options)
 {
     _context = new OwinContext(owin.Environment);
     _config = options.ViewServiceOptions;
 }