IAuthenticationFilter.OnAuthenticationChallenge Method

Definition

Adds an authentication challenge to the current ActionResult.

public void OnAuthenticationChallenge (System.Web.Mvc.Filters.AuthenticationChallengeContext filterContext);
abstract member OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
Public Sub OnAuthenticationChallenge (filterContext As AuthenticationChallengeContext)

Parameters

filterContext
AuthenticationChallengeContext

The context to use for the authentication challenge.

Applies to