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
filterContext
Type: System.Web.Mvc.Filters.AuthenticationChallengeContextThe context to use for the authentication challenge.
See Also
IAuthenticationFilter Interface
System.Web.Mvc.Filters Namespace
Return to top