I have created an web api in .net I have custom authroization filter which check for token before executing the API method.
I want to add a custom attribute in custom authorization filter and get this attribute in every api method.
Custom authorize
public override void OnAuthorization(System.Web.Http.Controllers.HttpActionContext actionContext)
{
}
How to do this.
Thanks