@digitalpersona/core
Version:
DigitalPersona Web Access Core library
33 lines (20 loc) • 950 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/core](./core.md) > [Ticket](./core.ticket.md)
## Ticket class
A structure wrapping a JSON Web Token to pass it to the DigitalPersona Web Components services.
<b>Signature:</b>
```typescript
export declare class Ticket
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(jwt)](./core.ticket.(constructor).md) | | Constructs a ticket object. |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [jwt](./core.ticket.jwt.md) | | <code>JSONWebToken</code> | A JSON Web Token |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [None()](./core.ticket.none.md) | <code>static</code> | Creates a ticket with an emtpy token. Used as a placeholder when no token is needed. |