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

Windows Live authentication client.
Наследование: OAuth2Client
Показать файл Открыть проект Примеры использования класса

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

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

Initializes a new instance of the WindowsLiveClient class.

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

Метод Описание
BeforeGetUserInfo ( BeforeAfterRequestArgs args ) : void

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

ParseUserInfo ( string content ) : OAuth2.Models.UserInfo

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

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

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

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

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

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.
Результат OAuth2.Models.UserInfo

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

Initializes a new instance of the WindowsLiveClient class.
public WindowsLiveClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq
factory IRequestFactory The factory.
configuration IClientConfiguration The configuration.
Результат Newtonsoft.Json.Linq