C# 클래스 AltitudeAngelWings.ApiClient.Client.AltitudeAngelHttpHandlerFactory

Used to create an OAuth aware HTTP client.
상속: Flurl.Http.Configuration.DefaultHttpClientFactory
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 메소드들

메소드 설명
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