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

Commentaires

4 commentaires

  • Peter Christensen

    Hi Mitsu

    The standard box access tokens you get from our OAuth2.0, JWT or Client Credentials Grant apps has a 60 minute lifetime. There is not an option in the API to increase this lifetime. Depending on your exact use case you could look into https://developer.box.com/guides/applications/limited-access-apps/ which allows for longer lived tokens but comes with its own limitations. 

    Best regards, Peter Christensen, Platform Solutions Engineer, Box

    0
    Actions pour les commentaires Permalien
  • Mitsu Chatrola

    Thanks Peter Christensen. Link to limited access app says we should use it if we "wants to use Box View or only Box's preview services" but list of APIs under it shows support for upload, download etc... So my question is If we go with limited access app do we able to use upload, download functionality?

    0
    Actions pour les commentaires Permalien
  • Peter Christensen

    It is supported but not designed for it I think is the point they are trying to make. The limited access app is normally used when you are sharing something without a specific user context - eg. public documents on a website - as the long life token always belongs to the app. So it depends on your exact use case whether it makes sense to use this.

    0
    Actions pour les commentaires Permalien
  • Mitsu Chatrola

    Yup this make sense. Thanks Peter Christensen

    0
    Actions pour les commentaires Permalien

Cette publication n’accepte pas de commentaire.