共用方式為


IAuthenticationFilter.OnAuthenticationChallenge 方法

定義

將驗證挑戰新增至目前的 ActionResult

public void OnAuthenticationChallenge (System.Web.Mvc.Filters.AuthenticationChallengeContext filterContext);
abstract member OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
Public Sub OnAuthenticationChallenge (filterContext As AuthenticationChallengeContext)

參數

filterContext
AuthenticationChallengeContext

要用於驗證挑戰的內容。

適用於