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

有关当前请求和操作的信息。

实现

适用于