Share via


Controller.OnAuthenticationChallenge(AuthenticationChallengeContext) 方法

定義

在進行授權挑戰時呼叫。

protected virtual void OnAuthenticationChallenge (System.Web.Mvc.Filters.AuthenticationChallengeContext filterContext);
abstract member OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
override this.OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
Protected Overridable Sub OnAuthenticationChallenge (filterContext As AuthenticationChallengeContext)

參數

filterContext
AuthenticationChallengeContext

目前要求和動作的相關資訊。

實作

適用於