C# 클래스 BoxKite.Twitter.UserSession

상속: ApplicationSession, IUserSession
파일 보기 프로젝트 열기: nickhodge/BoxKite.Twitter 1 사용 예제들

공개 메소드들

메소드 설명
CreateGet ( string url, string>.SortedDictionary parameters ) : HttpRequestMessage
CreatePost ( string url, string>.SortedDictionary parameters ) : HttpRequestMessage
GenerateNoonce ( ) : string
GenerateTimestamp ( ) : string
GetAsync ( string url, string>.SortedDictionary parameters ) : Task

Use OAuth1.0a auth to do more intensive reads

PostAsync ( string url, string>.SortedDictionary parameters ) : Task

Use OAuth1.0a auth to do more intensive POST

PostFileAsync ( string url, string>.SortedDictionary parameters, string fileName, string fileContentsKey, byte fileContents = null, Stream srImageStream = null ) : Task
UserSession ( TwitterCredentials credentials, IPlatformAdaptor platformAdaptor, int _waitTimeoutSeconds = 30 ) : System
UserSession ( string clientID, string clientSecret, IPlatformAdaptor platformAdaptor, int _waitTimeoutSeconds = 30 ) : System
UserSession ( string clientID, string clientSecret, string bearerToken, IPlatformAdaptor platformAdaptor, int _waitTimeoutSeconds = 30 ) : System
UserStreamBuilder ( ) : IUserStream

비공개 메소드들

메소드 설명
BuildAuthenticatedResult ( string fullUrl, string>.IEnumerable parameters, string method, bool multipartform = false ) : OAuth
FileDataContent ( byte fileData = null, Stream srReader = null ) : System.Net.Http.ByteArrayContent

메소드 상세

CreateGet() 공개 메소드

public CreateGet ( string url, string>.SortedDictionary parameters ) : HttpRequestMessage
url string
parameters string>.SortedDictionary
리턴 System.Net.Http.HttpRequestMessage

CreatePost() 공개 메소드

public CreatePost ( string url, string>.SortedDictionary parameters ) : HttpRequestMessage
url string
parameters string>.SortedDictionary
리턴 System.Net.Http.HttpRequestMessage

GenerateNoonce() 공개 메소드

public GenerateNoonce ( ) : string
리턴 string

GenerateTimestamp() 공개 메소드

public GenerateTimestamp ( ) : string
리턴 string

GetAsync() 공개 메소드

Use OAuth1.0a auth to do more intensive reads
public GetAsync ( string url, string>.SortedDictionary parameters ) : Task
url string URL to call
parameters string>.SortedDictionary Params to send
리턴 Task

PostAsync() 공개 메소드

Use OAuth1.0a auth to do more intensive POST
public PostAsync ( string url, string>.SortedDictionary parameters ) : Task
url string URL to call
parameters string>.SortedDictionary Params to send
리턴 Task

PostFileAsync() 공개 메소드

public PostFileAsync ( string url, string>.SortedDictionary parameters, string fileName, string fileContentsKey, byte fileContents = null, Stream srImageStream = null ) : Task
url string
parameters string>.SortedDictionary
fileName string
fileContentsKey string
fileContents byte
srImageStream Stream
리턴 Task

UserSession() 공개 메소드

public UserSession ( TwitterCredentials credentials, IPlatformAdaptor platformAdaptor, int _waitTimeoutSeconds = 30 ) : System
credentials BoxKite.Twitter.Models.TwitterCredentials
platformAdaptor IPlatformAdaptor
_waitTimeoutSeconds int
리턴 System

UserSession() 공개 메소드

public UserSession ( string clientID, string clientSecret, IPlatformAdaptor platformAdaptor, int _waitTimeoutSeconds = 30 ) : System
clientID string
clientSecret string
platformAdaptor IPlatformAdaptor
_waitTimeoutSeconds int
리턴 System

UserSession() 공개 메소드

public UserSession ( string clientID, string clientSecret, string bearerToken, IPlatformAdaptor platformAdaptor, int _waitTimeoutSeconds = 30 ) : System
clientID string
clientSecret string
bearerToken string
platformAdaptor IPlatformAdaptor
_waitTimeoutSeconds int
리턴 System

UserStreamBuilder() 공개 메소드

public UserStreamBuilder ( ) : IUserStream
리턴 IUserStream