-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
- I have checked that the SDK documentation doesn't solve my issue.
- I have checked that the API documentation doesn't solve my issue.
- I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
- I have searched Issues in this repo and my issue isn't already reported.
Description of the Issue
I convert a Box Integration App with the Box TS SDK and I convert now correctly the AuthCode to an AccessToken.
I use this section of the migration guide.
The legacy code used sdk.getPersistentClient(tokenInfo, tokenStore);
to retrieve a BoxClient.
How can we actually generate an BoxClient from an access token?
I guess that it's should be something like that :
const accessToken = await oauth.getTokensAuthorizationCodeGrant('code');
const boxClient = new BoxClient (accessToken)
Versions Used
Typescript SDK: v1.11.0
Node.js: v20.18.1
Metadata
Metadata
Labels
questionFurther information is requestedFurther information is requested