C# Класс AltitudeAngelWings.ApiClient.Client.AltitudeAngelHttpHandlerFactory

Used to create an OAuth aware HTTP client.
Наследование: Flurl.Http.Configuration.DefaultHttpClientFactory
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AltitudeAngelHttpHandlerFactory ( string authUrl, DotNetOpenAuth.OAuth2.AuthorizationState existingState ) : System

Constructor.

ClearAuthState ( ) : void

Clear any pre-existing auth state. Will force log on the next time this handler is used for a request.

CreateMessageHandler ( ) : HttpMessageHandler

Create the message handler. Modify this to support different scopes.

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

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

Constructor.
public AltitudeAngelHttpHandlerFactory ( string authUrl, DotNetOpenAuth.OAuth2.AuthorizationState existingState ) : System
authUrl string The base auth URL (scheme and host).
existingState DotNetOpenAuth.OAuth2.AuthorizationState Any existing state from a previous session.
Результат System

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

Clear any pre-existing auth state. Will force log on the next time this handler is used for a request.
public ClearAuthState ( ) : void
Результат void

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

Create the message handler. Modify this to support different scopes.
public CreateMessageHandler ( ) : HttpMessageHandler
Результат System.Net.Http.HttpMessageHandler