Skip to main content

Interface: LoginData

Defined in: 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: 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: 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: packages/api/src/lib/structures/http/Auth.ts:233

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

Since​

1.4.0