C# Class OAuth2.Client.Impl.FitbitClient

Fitbit authentication (and usage) client.
Inheritance: OAuth2Client
Show file Open project: titarenko/OAuth2

Public Methods

Method Description
FitbitClient ( IRequestFactory factory, IClientConfiguration configuration ) : System.Linq

Initializes a new instance of the FitbitClient class.

Protected Methods

Method Description
BeforeGetAccessToken ( BeforeAfterRequestArgs args ) : void
BeforeGetUserInfo ( BeforeAfterRequestArgs args ) : void
ParseUserInfo ( string content ) : OAuth2.Models.UserInfo

Should return parsed UserInfo from content received from third-party service.

Method Details

BeforeGetAccessToken() protected method

protected BeforeGetAccessToken ( BeforeAfterRequestArgs args ) : void
args BeforeAfterRequestArgs
return void

BeforeGetUserInfo() protected method

protected BeforeGetUserInfo ( BeforeAfterRequestArgs args ) : void
args BeforeAfterRequestArgs
return void

FitbitClient() public method

Initializes a new instance of the FitbitClient class.
public FitbitClient ( IRequestFactory factory, IClientConfiguration configuration ) : System.Linq
factory IRequestFactory The factory.
configuration IClientConfiguration The configuration.
return System.Linq

ParseUserInfo() protected method

Should return parsed UserInfo from content received from third-party service.
protected ParseUserInfo ( string content ) : OAuth2.Models.UserInfo
content string The content which is received from third-party service.
return OAuth2.Models.UserInfo