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

用于身份验证质询的上下文。

适用于