C# 클래스 System.Net.Http.MembershipAuthenticationHandler

Authenticates the ongoing request using Membership and Forms Authentication cookie. Grabs the forms authentication ticket token from the cookie header and performs the authentication due to WebApi requirement for ASP.NET we're also suppressing Forms Redirect by leveraging aspnet.suppressformsredirect Package.
상속: ControllerFilteredMessageProcessingHandler
파일 보기 프로젝트 열기: WindowsAzure-Toolkits/wa-toolkit-wp-nugets

보호된 메소드들

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

Performs Membership Authentication of the on going request. Turns Membership authentication into mandatory.

비공개 메소드들

메소드 설명
Unauthorized ( ) : void

메소드 상세

ProcessRequestHandler() 보호된 메소드

Performs Membership Authentication of the on going request. Turns Membership authentication into mandatory.
protected ProcessRequestHandler ( HttpRequestMessage request, CancellationToken cancellationToken ) : HttpRequestMessage
request HttpRequestMessage Ongoing request
cancellationToken System.Threading.CancellationToken Async Cancellation token
리턴 HttpRequestMessage