Skip to main content

Interface: LoginData

@sapphire/plugin-api.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:243


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:237


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:231