ClientOptions src/Interface.ts#L40
The options required for the Client.
Properties:
Name | Type | Description |
---|---|---|
cacheSettings | boolean | CacheSettings | The cache settings for the client. OPTIONAL |
refreshToken | boolean | Set true to refresh token if the token is needed to be acquired if expired by default it is false. OPTIONAL |
retryOnRateLimit | boolean | Boolean stating should the client retry when the request is rate limited or not by default it is true. OPTIONAL |
token | AuthIdentity | Your spotify web api token or some authenication details to generate one. |
userAuthorizedToken | boolean | If the token provided is a string and is user authroized set this to true. OPTIONAL |
onReady | unknown | No description found. OPTIONAL |
onRefresh | unknown | No description found. OPTIONAL |