C# Class Github.Api.Authentication.AuthenticatingHandler

Inheritance: System.Net.Http.DelegatingHandler
Mostrar archivo Open project: Icenium/Github.Api

Public Methods

Method Description
AuthenticatingHandler ( HttpMessageHandler handler, string accessToken ) : System
AuthenticatingHandler ( string accessToken ) : System

Protected Methods

Method Description
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
GetAccessTokenKeyValuePair ( string query ) : string

Method Details

AuthenticatingHandler() public method

public AuthenticatingHandler ( HttpMessageHandler handler, string accessToken ) : System
handler System.Net.Http.HttpMessageHandler
accessToken string
return System

AuthenticatingHandler() public method

public AuthenticatingHandler ( string accessToken ) : System
accessToken string
return System

SendAsync() protected method

protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
return Task