Skip to main content

Interface: LoginData

The login data sent when fetching data from a user.

Since

1.4.0

Properties

connections?

optional connections: null | RESTGetAPICurrentUserConnectionsResult

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

Since

1.4.0

Defined in

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


guilds?

optional guilds: null | RESTGetAPICurrentUserGuildsResult

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

Since

1.4.0

Defined in

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


user?

optional user: null | APIUser

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

Since

1.4.0

Defined in

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