v9.1.0
v9.1.0
- Added TokenWithRefreshOptions to supply access token with refresh token options in
token
field of ClientOptions. Here is an example:
const client = await Client.create({
userAuthorizedToken: true,
refreshToken: true,
token: {
token: "access token here",
// other details required to refresh the token...
clientID: "client id",
clientSecret: "client secret",
redirectURL: "redirect url here"
}
});
Released: 9th May 2022