Controller.OnAuthentication Method (AuthenticationContext)

 

Called when authorization occurs.

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

Syntax

protected virtual void OnAuthentication(
    AuthenticationContext filterContext
)
protected:
virtual void OnAuthentication(
    AuthenticationContext^ filterContext
)
abstract OnAuthentication : 
        filterContext:AuthenticationContext -> unit
override OnAuthentication : 
        filterContext:AuthenticationContext -> unit
Protected Overridable Sub OnAuthentication (
    filterContext As AuthenticationContext
)

Parameters

See Also

Controller Class
System.Web.Mvc Namespace

Return to top