Controller.OnAuthenticationChallenge(AuthenticationChallengeContext) Method

Definition

Called when authorization challenge occurs.

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)

Parameters

filterContext
AuthenticationChallengeContext

Information about the current request and action.

Implements

Applies to