Controller.OnAuthentication(AuthenticationContext) Method

Definition

Called when authorization occurs.

protected virtual void OnAuthentication (System.Web.Mvc.Filters.AuthenticationContext filterContext);
abstract member OnAuthentication : System.Web.Mvc.Filters.AuthenticationContext -> unit
override this.OnAuthentication : System.Web.Mvc.Filters.AuthenticationContext -> unit
Protected Overridable Sub OnAuthentication (filterContext As AuthenticationContext)

Parameters

filterContext
AuthenticationContext

Information about the current request and action.

Implements

Applies to