public DefaultIdentityProviderCollectionViewModel(IIdentityProviderClient client, ISimpleWebTokenStore store,
                                                          ILoginIdentityProviderTask loginIdentityProviderTask, IMvxMessenger messenger)
        {
            _messenger                 = messenger;
            _simpleWebTokenStore       = store;
            _loginIdentityProviderTask = loginIdentityProviderTask;
            _identityProviderClient    = client;

            RaisePropertyChanged(() => IsLoggedIn);
            RaisePropertyChanged(() => LoggedInProvider);
        }
        public DefaultIdentityProviderCollectionViewModel(IIdentityProviderClient client, ISimpleWebTokenStore store,
                                                          ILoginIdentityProviderTask loginIdentityProviderTask, IMvxMessenger messenger)
        {
            _messenger                 = messenger;
            _simpleWebTokenStore       = store;
            _loginIdentityProviderTask = loginIdentityProviderTask;
            _identityProviderClient    = client;

            RaisePropertyChanged(() => IsLoggedIn);
            RaisePropertyChanged(() => LoggedInProvider);

            _closeSelfToken = messenger.Subscribe <CloseSelfMessage>(message =>
            {
                if (message.Close)
                {
                    NavigateBackCommand.Execute(null);
                }
            });
        }
        public DefaultIdentityProviderCollectionViewModel(IIdentityProviderClient client, ISimpleWebTokenStore store, 
            ILoginIdentityProviderTask loginIdentityProviderTask)
        {
            _simpleWebTokenStore = store;
            _loginIdentityProviderTask = loginIdentityProviderTask;
            _identityProviderClient = client;

            RaisePropertyChanged("IsLoggedIn");
            RaisePropertyChanged("LoggedInProvider");
        }
        public DefaultIdentityProviderCollectionViewModel(IIdentityProviderClient client, ISimpleWebTokenStore store, 
            ILoginIdentityProviderTask loginIdentityProviderTask, IMvxMessenger messenger)
        {
            _messenger = messenger;
            _simpleWebTokenStore = store;
            _loginIdentityProviderTask = loginIdentityProviderTask;
            _identityProviderClient = client;

            RaisePropertyChanged(() => IsLoggedIn);
            RaisePropertyChanged(() => LoggedInProvider);

            _closeSelfToken = messenger.Subscribe<CloseSelfMessage>(message =>
            {
                if(message.Close)
                    NavigateBackCommand.Execute(null);
            });
        }
        public DefaultIdentityProviderCollectionViewModel(IIdentityProviderClient client, ISimpleWebTokenStore store, 
            ILoginIdentityProviderTask loginIdentityProviderTask, IMvxMessenger messenger)
        {
            _messenger = messenger;
            _simpleWebTokenStore = store;
            _loginIdentityProviderTask = loginIdentityProviderTask;
            _identityProviderClient = client;

            RaisePropertyChanged(() => IsLoggedIn);
            RaisePropertyChanged(() => LoggedInProvider);
        }