Table of Contents

Class JwtAuthorizeAttribute

Namespace
InSite.Api
Assembly
InSite.UI.dll
public class JwtAuthorizeAttribute : AuthorizeAttribute, _Attribute, IAuthorizationFilter, IFilter
Inheritance
JwtAuthorizeAttribute
Implements
Inherited Members

Constructors

JwtAuthorizeAttribute()

public JwtAuthorizeAttribute()

Methods

GetJwt(string)

public static (IJwt jwt, bool wasInCache) GetJwt(string token)

Parameters

token string

Returns

(IJwt jwt, bool wasInCache)

OnAuthorization(HttpActionContext)

Calls when an action is being authorized.

public override void OnAuthorization(HttpActionContext context)

Parameters

context HttpActionContext

Exceptions

ArgumentNullException

The context parameter is null.