Language

CookieAuthenticationHandler.HandleChallengeAsync メソッド

定義

このメソッドをオーバーライドして、問題の認証スキームが要求フローの一部として認証の相互作用を処理する場合 (応答ヘッダーの追加、ログイン ページまたは外部サインインの場所の 302 への 401 の結果の変更など) に 401 チャレンジの懸念に対処します。

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

パラメーター

返品

タスク。

適用対象