C# Class ZinOS.OAuth.DropboxOAuthConsumer.DropboxConsumerTokenManager

Inheritance: IConsumerTokenManager
Datei anzeigen Open project: hiddenbyte/ZinOS

Public Methods

Method Description
DropboxConsumerTokenManager ( int userId, IDropboxService dropboxService, IUserService userService ) : DotNetOpenAuth.Messaging
ExpireRequestTokenAndStoreNewAccessToken ( string consumerKey, string requestToken, string accessToken, string accessTokenSecret ) : void
GetTokenSecret ( string token ) : string
GetTokenType ( string token ) : TokenType
StoreNewRequestToken ( DotNetOpenAuth request, DotNetOpenAuth response ) : void

Method Details

DropboxConsumerTokenManager() public method

public DropboxConsumerTokenManager ( int userId, IDropboxService dropboxService, IUserService userService ) : DotNetOpenAuth.Messaging
userId int
dropboxService IDropboxService
userService IUserService
return DotNetOpenAuth.Messaging

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 request, DotNetOpenAuth response ) : void
request DotNetOpenAuth
response DotNetOpenAuth
return void