Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

How long should I hold on to a Box SDK Client?

New post

Comments

1 comment

  • kendomen

    I believe the SDK takes care of refreshing the tokens.

     

    I looked at app-auth-session.js...

     

    * These access tokens will be refreshed in the background if a request is made within the
    * "stale buffer" (defaults to 10 minutes before the token is set to expire).
    * If the token is also expired, all incoming requests will be held until a fresh token
    * is retrieved.
    0
    Comment actions Permalink

Please sign in to leave a comment.