o3o.UserDatabase.User.AuthenticateTwitter C# (CSharp) 메소드

AuthenticateTwitter() 공개 메소드

public AuthenticateTwitter ( ) : void
리턴 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();
                }
            }