UNPKG

@digitalpersona/core

Version:
33 lines (20 loc) 950 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [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. |