C# Class OAuth2.Client.Impl.TodoistClient

Todoist authentication client.
Inheritance: OAuth2Client
Afficher le fichier Open project: titarenko/OAuth2

Méthodes publiques

Méthode Description
TodoistClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq

Initializes a new instance of the TodoistClient class.

Méthodes protégées

Méthode Description
BeforeGetUserInfo ( BeforeAfterRequestArgs args ) : void
ParseUserInfo ( string content ) : OAuth2.Models.UserInfo

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

Method Details

BeforeGetUserInfo() protected méthode

protected BeforeGetUserInfo ( BeforeAfterRequestArgs args ) : void
args BeforeAfterRequestArgs
Résultat void

ParseUserInfo() protected méthode

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.
Résultat OAuth2.Models.UserInfo

TodoistClient() public méthode

Initializes a new instance of the TodoistClient class.
public TodoistClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq
factory IRequestFactory The factory.
configuration IClientConfiguration The configuration.
Résultat Newtonsoft.Json.Linq