C# Класс OAuth2.Client.Impl.CarePassClient

Наследование: OAuth2.Client.OAuth2Client
Показать файл Открыть проект

Открытые методы

Метод Описание
CarePassClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq

Защищенные методы

Метод Описание
AfterGetAccessToken ( IRestResponse response ) : void

Called just after obtaining response with access token from third-party service. Allows to read extra data returned along with access token.

BeforeGetUserInfo ( IRestRequest request ) : void

Called just before issuing request to service when everything is ready. Allows to add extra parameters to request or do any other needed preparations.

ParseUserInfo ( string content ) : OAuth2.Models.UserInfo

Описание методов

AfterGetAccessToken() защищенный Метод

Called just after obtaining response with access token from third-party service. Allows to read extra data returned along with access token.
protected AfterGetAccessToken ( IRestResponse response ) : void
response IRestResponse
Результат void

BeforeGetUserInfo() защищенный Метод

Called just before issuing request to service when everything is ready. Allows to add extra parameters to request or do any other needed preparations.
protected BeforeGetUserInfo ( IRestRequest request ) : void
request IRestRequest
Результат void

CarePassClient() публичный Метод

public CarePassClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq
factory IRequestFactory
configuration IClientConfiguration
Результат Newtonsoft.Json.Linq

ParseUserInfo() защищенный Метод

protected ParseUserInfo ( string content ) : OAuth2.Models.UserInfo
content string
Результат OAuth2.Models.UserInfo