AuthenticationHandler<TOptions>.HandleChallengeAsync 메서드

정의

문제의 인증 체계가 요청 흐름의 일부로 인증 상호 작용을 처리하는 경우 이 메서드를 재정의하여 401 챌린지 문제를 처리합니다. 즉, 응답 헤더를 추가하거나 401 결과를 로그인 페이지 또는 외부 로그인 위치의 302로 변경합니다.

protected:
 virtual System::Threading::Tasks::Task ^ HandleChallengeAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected virtual System.Threading.Tasks.Task HandleChallengeAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member HandleChallengeAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.HandleChallengeAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected Overridable Function HandleChallengeAsync (properties As AuthenticationProperties) As Task

매개 변수

반환

작업입니다.

적용 대상