asp.net core MVC BoxClient instantiate across requests

New post

Comments

1 comment

  • jcleblanc

    Hi ,

     

    While I'm not a asp.net expert (and our docs are not all that great for the ASP side of .Net), let me see if I can provide some guidance based on what you're asking:

    1. I haven't seen a specific method for this within the Windows SDK, but the Github repo will probably have the best information on this. 
    2. I'd recommend checking out our JWT flow. The standard OAuth 2 flow will require a user to log in to their Box account, but then that access token you get back can be perpetually refreshed using the refresh token without the user logging in again. The difference in the JWT flow is that you're replacing the act of the user logging in with JWT, which takes your own identity management system and injects it into the auth process. This allows you to build apps that can interact with users behind the scenes without the user needing to log in to their Box account. 

    - Jon

    0
    Comment actions Permalink

Please sign in to leave a comment.