Share via


IAuthenticationFilter.OnAuthenticationChallenge Method (AuthenticationChallengeContext)

 

Adds an authentication challenge to the current ActionResult.

Namespace:   System.Web.Mvc.Filters
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

void OnAuthenticationChallenge(
    AuthenticationChallengeContext filterContext
)
void OnAuthenticationChallenge(
    AuthenticationChallengeContext^ filterContext
)
abstract OnAuthenticationChallenge : 
        filterContext:AuthenticationChallengeContext -> unit
Sub OnAuthenticationChallenge (
    filterContext As AuthenticationChallengeContext
)

Parameters

See Also

IAuthenticationFilter Interface
System.Web.Mvc.Filters Namespace

Return to top