Skip to main content

Interface: LoginData

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

The login data sent when fetching data from a user.

Since

1.4.0

Properties

connections?

optional connections: null | RESTGetAPICurrentUserConnectionsResult

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

The connections data, defined when the 'connections' scope is defined.

Since

1.4.0


guilds?

optional guilds: null | RESTGetAPICurrentUserGuildsResult

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

The guilds data, defined when the 'guilds' scope is defined.

Since

1.4.0


user?

optional user: null | APIUser

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

The user data, defined when the 'identify' scope is defined.

Since

1.4.0