C# Class SimpleSocialAuth.Core.Consumers.InMemoryTokenManager

Inheritance: IConsumerTokenManager
ファイルを表示 Open project: rafek/SimpleSocialAuth

Public Methods

Method Description
ExpireRequestTokenAndStoreNewAccessToken ( string consumerKey, string requestToken, string accessToken, string accessTokenSecret ) : void
GetTokenSecret ( string token ) : string
GetTokenType ( string token ) : TokenType
InMemoryTokenManager ( string consumerKey, string consumerSecret ) : System
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

InMemoryTokenManager() public method

public InMemoryTokenManager ( string consumerKey, string consumerSecret ) : System
consumerKey string
consumerSecret string
return System

StoreNewRequestToken() public method

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