Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called when authorization challenge occurs.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
protected virtual void OnAuthenticationChallenge(
AuthenticationChallengeContext filterContext
)
protected:
virtual void OnAuthenticationChallenge(
AuthenticationChallengeContext^ filterContext
)
abstract OnAuthenticationChallenge :
filterContext:AuthenticationChallengeContext -> unit
override OnAuthenticationChallenge :
filterContext:AuthenticationChallengeContext -> unit
Protected Overridable Sub OnAuthenticationChallenge (
filterContext As AuthenticationChallengeContext
)
Parameters
filterContext
Type: System.Web.Mvc.Filters.AuthenticationChallengeContextInformation about the current request and action.
See Also
Controller Class
System.Web.Mvc Namespace
Return to top