<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [JWT](./core.jwt.md)

## JWT class

Represents a JSON Web Token and gives access to the token's payload. Note that this class does not allow to validate the token signature in the browser, it must be done on a server side.

<b>Signature:</b>

```typescript
export declare class JWT 
```

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [claims(jwt)](./core.jwt.claims.md) | <code>static</code> | Extracts a claims set from the JSON Web Token. |
|  [errors(jwt)](./core.jwt.errors.md) | <code>static</code> | Validates the JSON Web Token and returns a collection of detected validation errors. |

