C# Class WebApi_BasicAuth_MessageHandler.BasicAuthenticationHandler

Inheritance: System.Net.Http.DelegatingHandler
显示文件 Open project: NathanGloyn/SPA-Authentication

Protected Methods

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

Method Details

ParseAuthorizationHeader() protected method

protected ParseAuthorizationHeader ( HttpRequestMessage request ) : BasicAuthenticationIdentity
request System.Net.Http.HttpRequestMessage
return BasicAuthenticationIdentity

SendAsync() protected method

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