C# 클래스 BasicAuthForWebAPI.BasicAuthenticationMessageHandler

상속: System.Net.Http.DelegatingHandler
파일 보기 프로젝트 열기: jamiekurtz/BasicAuthForWebAPI

공개 메소드들

메소드 설명
BasicAuthenticationMessageHandler ( ) : System
BasicAuthenticationMessageHandler ( IMembershipProvider membershipProvider ) : System

보호된 메소드들

메소드 설명
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

비공개 메소드들

메소드 설명
CreateIdentity ( MembershipProviderUser user ) : GenericIdentity
CreateResponse ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
CreateUnauthorizedResponse ( ) : Task
SetPrincipal ( string username ) : void

메소드 상세

BasicAuthenticationMessageHandler() 공개 메소드

public BasicAuthenticationMessageHandler ( ) : System
리턴 System

BasicAuthenticationMessageHandler() 공개 메소드

public BasicAuthenticationMessageHandler ( IMembershipProvider membershipProvider ) : System
membershipProvider IMembershipProvider
리턴 System

SendAsync() 보호된 메소드

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