C# Class AltitudeAngelWings.ApiClient.Client.AltitudeAngelHttpHandlerFactory

Used to create an OAuth aware HTTP client.
Inheritance: Flurl.Http.Configuration.DefaultHttpClientFactory
Afficher le fichier Open project: ArduPilot/MissionPlanner Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AltitudeAngelHttpHandlerFactory() public méthode

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.
Résultat System

ClearAuthState() public méthode

Clear any pre-existing auth state. Will force log on the next time this handler is used for a request.
public ClearAuthState ( ) : void
Résultat void

CreateMessageHandler() public méthode

Create the message handler. Modify this to support different scopes.
public CreateMessageHandler ( ) : HttpMessageHandler
Résultat System.Net.Http.HttpMessageHandler