C# Class MahTweets2.TwitterPlugin.MahTweetsOAuthTokenManager

Inheritance: IConsumerTokenManager
ファイルを表示 Open project: nickhodge/MahTweets.LawrenceHargrave Class Usage Examples

Public Methods

Method Description
ExpireRequestTokenAndStoreNewAccessToken ( string consumerKey, string requestToken, string accessToken, string accessTokenSecret ) : void
GetTokenSecret ( string token ) : string
GetTokenType ( string token ) : TokenType
IsRequestTokenAuthorized ( string requestToken ) : bool
StoreNewRequestToken ( DotNetOpenAuth.OAuth.Messages.UnauthorizedTokenRequest request, ITokenSecretContainingMessage response ) : void

Method Details

ExpireRequestTokenAndStoreNewAccessToken() public method

public ExpireRequestTokenAndStoreNewAccessToken ( string consumerKey, string requestToken, string accessToken, string accessTokenSecret ) : void
consumerKey string
requestToken string
accessToken string
accessTokenSecret string
return void

GetTokenSecret() public method

public GetTokenSecret ( string token ) : string
token string
return string

GetTokenType() public method

public GetTokenType ( string token ) : TokenType
token string
return TokenType

IsRequestTokenAuthorized() public method

public IsRequestTokenAuthorized ( string requestToken ) : bool
requestToken string
return bool

StoreNewRequestToken() public method

public StoreNewRequestToken ( DotNetOpenAuth.OAuth.Messages.UnauthorizedTokenRequest request, ITokenSecretContainingMessage response ) : void
request DotNetOpenAuth.OAuth.Messages.UnauthorizedTokenRequest
response ITokenSecretContainingMessage
return void