o3o.UserDatabase.User.AuthenticateTwitter C# (CSharp) Method

AuthenticateTwitter() public method

public AuthenticateTwitter ( ) : void
return void
            public void AuthenticateTwitter()
            {
                GetOAuthForm f = new GetOAuthForm(CONSUMER_KEY, CONSUMER_SECRET);
                f.ShowDialog();
                if (f.OAuthTokenResponse != null)
                {
                    AccessToken = f.OAuthTokenResponse.Token;
                    AccessTokenSecret = f.OAuthTokenResponse.TokenSecret;
                    UserDetails = f.OAuthTokenResponse;
                }
                else
                {
                    System.Windows.Application.Current.Shutdown();
                }
            }