LoggedIn() private method

private LoggedIn ( ) : void
return void
示例#1
0
        public async void AttemptAutoLogin()
        {
            try
            {
                BusyMessage = "Checking existing credentials...";
                IsBusy      = true;

                if (await _jiraApi.Session.CheckJiraSession())
                {
                    _messenger.Send(new OpenAgileBoardPickupMessage());
                    _jiraSession.LoggedIn();
                }
            }
            catch (ServerNotFoundException)
            {
                LoginErrorMessage = "Could not find most recent server. Try again later.";
            }
            catch (IncompleteJiraConfiguration) { }
            finally
            {
                IsBusy = false;
            }
        }