Constructs an instance of this DTO.
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).
The Address of this account on dHealth Network. The
account's address typically refers to a human-readable
series of 39 characters, starting either with a T
, for
TESTNET addresses, or with a N
, for MAINNET addresses.
The transaction hash that is/was attached to the last
authenticated session of this account.
This field is optional and not indexed.
The account's referral code. This code should be used when inviting new users to the dApp. This field contains a unique random string of 8 characters.
The account's referrer address. This address refers to the
account that invited the current account to the dApp.
This field is optional and indexed.
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).
The JWT sub value that can be attached in the bearer authorization header of HTTP requests to serve as a unique identity of each device.
Generated using TypeDoc
A DTO class that consists of the transferable properties of an account session.
v0.3.2