public void ShowLogin(bool subOnly) { LoginViewVM vm = _kernel.Get <LoginViewVM>(); vm.SubOnly = subOnly; Navigate(vm); }
public IActionResult Login(LoginViewVM model = null) { if (model == null) { model = new LoginViewVM(); } return(View(model)); }
private void LoginView_Loaded(object sender, RoutedEventArgs e) { chrome.IsBrowserInitializedChanged += Chrome_IsBrowserInitializedChanged; _vm = DataContext as LoginViewVM; if (!_vm.SubOnly) { chrome.RequestHandler = new AuthRequestHandler(Dispatcher, _vm); } }
public AuthRequestHandler(Dispatcher dispatcher, LoginViewVM vm) { _dispatcher = dispatcher; _vm = vm; }
public AuthCookieVisitor(Dispatcher dispatcher, LoginViewVM vm) { _dispatcher = dispatcher; _vm = vm; }