Options
All
  • Public
  • Public/Protected
  • All
Menu
description

A DTO class that consists of an JWT access token payload. This DTO always contains an access token that is short-lived (1 hour) and a refresh token.

Access tokens are always signed with the dApp's auth secret and expire after 1 hour (one hour).

since

v0.3.0

Hierarchy

Index

Constructors

Properties

accessToken: string

The JWT access token that can be attached in the bearer authorization header of HTTP requests to indicate users that are authenticated ("logged in").

Access tokens are always signed with the dApp's auth secret and expire after 1 hour (one hour).

access

public

var

{string}

expiresAt?: number

The JWT access token expiration timestamp. This timestamp uses the UTC timezone.

access

public

var

{number}

refreshToken?: string

The JWT refresh token that can be attached in the bearer authorization header of HTTP requests to /auth/token to indicate that a user's access token must be refreshed.

Refresh tokens are always signed with the dApp's auth secret and expire after 1 year (one year).

access

public

var

{string}

remoteIdentifier?: string

The identifier of the account at the data provider API. This is a unique identifier for the account on said platform.

access

public

var

{string}

Generated using TypeDoc