C# 클래스 Smrf.NodeXL.GraphDataProviders.Twitter.TwitterAccessToken

Represents a Twitter OAuth access token.
Call Save when an OAuth access token is obtained from Twitter. Save saves the token to a file in the user's profile. Call TryLoad to determine whether a token has been obtained from Twitter.

(Confusingly, a Twitter "token" consists of both a token string and a secret string. The same word is used for both a single string and a pair of strings.)

상속: Object
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_sSecret String
m_sToken String

공개 메소드들

메소드 설명
Delete ( ) : void
Exists ( ) : System.Boolean
GetAccessTokenFilePath ( ) : String
Save ( String token, String secret ) : void
TryLoad ( String &token, String &secret ) : System.Boolean
TwitterAccessToken ( ) : System

Initializes a new instance of the TwitterAccessToken class.

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

Delete() 공개 정적인 메소드

public static Delete ( ) : void
리턴 void

Exists() 공개 정적인 메소드

public static Exists ( ) : System.Boolean
리턴 System.Boolean

GetAccessTokenFilePath() 공개 정적인 메소드

public static GetAccessTokenFilePath ( ) : String
리턴 String

Save() 공개 메소드

public Save ( String token, String secret ) : void
token String
secret String
리턴 void

TryLoad() 공개 메소드

public TryLoad ( String &token, String &secret ) : System.Boolean
token String
secret String
리턴 System.Boolean

TwitterAccessToken() 공개 메소드

Initializes a new instance of the TwitterAccessToken class.
public TwitterAccessToken ( ) : System
리턴 System

프로퍼티 상세

m_sSecret 보호되어 있는 프로퍼티

protected String m_sSecret
리턴 String

m_sToken 보호되어 있는 프로퍼티

protected String m_sToken
리턴 String