/
docs
/
packages
/
rest
/
main
/
AuthData%3AInterface
Search...
K
rest
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
CDN
DiscordAPIError
HTTPError
RateLimitError
REST
Functions
calculateUserDefaultAvatarIndex
makeURLSearchParams
parseResponse
Enums
RequestMethod
RESTEvents
Interfaces
APIRequest
AuthData
BaseImageURLOptions
DiscordErrorData
HandlerRequestData
ImageURLOptions
InvalidRequestWarningData
MakeURLOptions
OAuthErrorData
RateLimitData
RawFile
RequestBody
RequestData
RequestHeaders
ResponseLike
RestEvents
RestEventsMap
RESTOptions
Types
GetRateLimitOffsetFunction
ImageExtension
ImageSize
RateLimitQueueFilter
RouteLike
StickerExtension
Variables
ALLOWED_EXTENSIONS
ALLOWED_SIZES
ALLOWED_STICKER_EXTENSIONS
AUTH_UUID_NAMESPACE
BurstHandlerMajorIdKey
DefaultRestOptions
DefaultUserAgent
DefaultUserAgentAppendix
OverwrittenMimeTypes
version
AuthData
export interface
AuthData
export interface
AuthData
Summary
No summary provided.
Properties
prefix?
:
'Bearer' | 'Bot'
The authorization prefix to use for this request, useful if you use this with bearer tokens
Default value
REST.options.authPrefix
token
:
string
The authorization token to use for this request