Interface: AuthData
api/src.AuthData
Defines the authentication data, this is to be encrypted and decrypted by the server.
since
1.0.0
Properties
expires
• expires: number
The timestamp at which the token expires.
since
1.0.0
Defined in
projects/plugins/packages/api/src/lib/structures/http/Auth.ts:154
id
• id: string
The user ID.
since
1.0.0
Defined in
projects/plugins/packages/api/src/lib/structures/http/Auth.ts:148
refresh
• refresh: string
The refresh token.
since
1.0.0
Defined in
projects/plugins/packages/api/src/lib/structures/http/Auth.ts:160
token
• token: string
The access token.
since
1.0.0
Defined in
projects/plugins/packages/api/src/lib/structures/http/Auth.ts:166