Twurple
Authentication
Getting data
Examples
FAQ
Migration
Reference
api
api-call
auth
auth-tmi
chat
common
easy-bot
ebs-helper
eventsub-base
eventsub-http
eventsub-ws
pubsub
Classes
AppTokenAuthProvider
CachedRefreshFailureError
IntermediateUserRemovalError
InvalidTokenError
InvalidTokenTypeError
RefreshingAuthProvider
StaticAuthProvider
TokenFetcher
TokenInfo
UnknownIntentError
Functions
accessTokenIsExpired
exchangeCode
getAppToken
getExpiryDateOfAccessToken
getTokenInfo
refreshUserToken
revokeToken
Interfaces
AccessToken
AccessTokenMaybeWithUserId
AccessTokenWithUserId
AuthProvider
RefreshingAuthProviderConfig
TokenInfoData
Type aliases
ExpireableAccessToken
TokenFetcher<T>
Overview
Methods
fetch
a
Constructor
new TokenFetcher(executor)
Parameter
Type
Required
Default
Description
executor
(scopeSets: string[][]) => Promise<T>
none
none
Methods
fetch(scopeSets)
async
Parameter
Type
Required
Default
Description
scopeSets
(?string[])[]
none
none
Return type:
T