ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / C1AntiForgeryTokenAttribute Class / OnAuthorization Method

In This Topic
    OnAuthorization Method
    In This Topic
    Implement the authorizing logic base on the RequestVerificationToken value in the request header.
    Syntax
    'Declaration
     
    
    Public Sub OnAuthorization( _
       ByVal filterContext As AuthorizationContext _
    ) 
    public void OnAuthorization( 
       AuthorizationContext filterContext
    )

    Parameters

    filterContext
    See Also