Skip to main content

Interface: AuthData

Defined in: projects/plugins/packages/api/src/lib/structures/http/Auth.ts:146

Defines the authentication data, this is to be encrypted and decrypted by the server.

Since

1.0.0

Properties

expires

expires: number

Defined in: projects/plugins/packages/api/src/lib/structures/http/Auth.ts:157

The timestamp at which the token expires.

Since

1.0.0


id

id: string

Defined in: projects/plugins/packages/api/src/lib/structures/http/Auth.ts:151

The user ID.

Since

1.0.0


refresh

refresh: string

Defined in: projects/plugins/packages/api/src/lib/structures/http/Auth.ts:163

The refresh token.

Since

1.0.0


token

token: string

Defined in: projects/plugins/packages/api/src/lib/structures/http/Auth.ts:169

The access token.

Since

1.0.0