C# Class FloydPink.Flickr.Downloadr.OAuth.TokenManager

Inheritance: IConsumerTokenManager
Mostrar archivo Open project: flickr-downloadr/flickr-downloadr

Public Methods

Method Description
ExpireRequestTokenAndStoreNewAccessToken ( string consumerKey, string requestToken, string accessToken, string accessTokenSecret ) : void
GetTokenSecret ( string token ) : string
GetTokenType ( string token ) : TokenType
StoreNewRequestToken ( DotNetOpenAuth.OAuth.Messages.UnauthorizedTokenRequest request, ITokenSecretContainingMessage response ) : void
TokenManager ( string consumerKey, string consumerSecret, IRepository tokenRepository ) : System

Private Methods

Method Description
GetStoredAccessToken ( ) : 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

StoreNewRequestToken() public method

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

TokenManager() public method

public TokenManager ( string consumerKey, string consumerSecret, IRepository tokenRepository ) : System
consumerKey string
consumerSecret string
tokenRepository IRepository
return System