Table of Contents

Interface IAuthenticationFilter

Namespace
System.Web.Mvc.Filters
Assembly
System.Web.Mvc.dll

Defines a filter that performs authentication.

public interface IAuthenticationFilter

Methods

OnAuthentication(AuthenticationContext)

Authenticates the request.

void OnAuthentication(AuthenticationContext filterContext)

Parameters

filterContext AuthenticationContext

The context to use for authentication.

OnAuthenticationChallenge(AuthenticationChallengeContext)

Adds an authentication challenge to the current ActionResult.

void OnAuthenticationChallenge(AuthenticationChallengeContext filterContext)

Parameters

filterContext AuthenticationChallengeContext

The context to use for the authentication challenge.