IAuthenticationFilter.OnAuthenticationChallenge 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向当前 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
用于身份验证质询的上下文。