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


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


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