dzlab / box-sdk-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Box SDK Examples

This repository contains a collection examples showing how to use Box SDK in scala.

Setup

JWT Examples

Prerequisite

  1. Create an App - get client_id & client_secret
  2. Set App to use JWT and set scopes and permissions as necessary
  3. Generate RSA Key Pair
  4. Add Public Key to App (remember to get keyId) - get keyId
  5. Admin - Grant Access to app in admin console
  6. Admin - Get enterprise_id from admin console

OAUTH2 Examples

Prerequisite

  1. Create an App - get client_id & client_secret
  2. Set App to use OAuth2, redirect_uri and set scopes and CORS domains

More OAuth documentation - link

Credits

Examples here were adapted form this github repo.

License

Open sourced under the The Unlicense.

About

License:The Unlicense


Languages

Language:Scala 100.0%