Class JWTAuthorizeAttribute
Proof authorization by checking the JWT
Inheritance
System.Object
JWTAuthorizeAttribute
Namespace: Simplic.Framework.WebAPI
Assembly: Simplic.Framework.WebAPI.dll
Syntax
public class JWTAuthorizeAttribute : AuthorizeAttribute
Methods
| Improve this Doc View SourceIsAuthorized(HttpActionContext)
Authenticate and authorize a request using JWT
Declaration
protected override bool IsAuthorized(HttpActionContext actionContext)
Parameters
Type | Name | Description |
---|---|---|
HttpActionContext | actionContext | Action context for the action that should be executed |
Returns
Type | Description |
---|---|
System.Boolean | True if the token is valid, else false |