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

Inheritance: IConsumerTokenManager
Afficher le fichier Open project: flickr-downloadr/flickr-downloadr

Méthodes publiques

Méthode 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

Méthode Description
GetStoredAccessToken ( ) : void

Method Details

ExpireRequestTokenAndStoreNewAccessToken() public méthode

public ExpireRequestTokenAndStoreNewAccessToken ( string consumerKey, string requestToken, string accessToken, string accessTokenSecret ) : void
consumerKey string
requestToken string
accessToken string
accessTokenSecret string
Résultat void

GetTokenSecret() public méthode

public GetTokenSecret ( string token ) : string
token string
Résultat string

GetTokenType() public méthode

public GetTokenType ( string token ) : TokenType
token string
Résultat TokenType

StoreNewRequestToken() public méthode

public StoreNewRequestToken ( DotNetOpenAuth.OAuth.Messages.UnauthorizedTokenRequest request, ITokenSecretContainingMessage response ) : void
request DotNetOpenAuth.OAuth.Messages.UnauthorizedTokenRequest
response ITokenSecretContainingMessage
Résultat void

TokenManager() public méthode

public TokenManager ( string consumerKey, string consumerSecret, IRepository tokenRepository ) : System
consumerKey string
consumerSecret string
tokenRepository IRepository
Résultat System