I have a simple app that is working so far using the Developer token. It can traverse the Box directory tree and download files from specific folders.
I haven't seen (either in the included examples or tests) a way to do Username/Password based authentication (OAuth2). I've looked at the AuthRepository class, but it doesn't seem to do what I'm looking to do--receive back an authentication token (and OAuth session) from a supplied Username/Password.
This app will be used by other people to download files from several of their own Box folders (based on the business logic), and so authenticating them using their Box Username and Password is required.
I'm using the .NET Core (V2) SDK, building a simple Windows Console application to do this.
I can't use batch scripts + simple CLI for this, and I'm not going to implement a web-based solution--it is supposed to be desktop.
Any help would be greatly appreciated.
Thank you
Chad.