Controller.OnAuthenticationChallenge Method (AuthenticationChallengeContext)

 

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

See Also

Controller Class
System.Web.Mvc Namespace

Return to top