Skip to content

Commit

Permalink
add scopes documentaiton #370
Browse files Browse the repository at this point in the history
  • Loading branch information
larrysalibra committed Feb 27, 2018
1 parent d9ccb89 commit 16cec2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/auth/README.md
Expand Up @@ -139,8 +139,12 @@ The app private key serves three functions.
* It is used to create the credentials that give an app access to the gaia hub storage bucket for that specific app.
* It is used in the end-to-end encryption of files stored for the app on the user's gaia hub.
* It serves as a cryptographic secret that apps can use to perform other cryptographic functions.

## Scopes
To be added
Scopes define the information and permissions an app requests from the user during authentication. If no `scopes` array is provided to the `redirectToSignIn` or `makeAuthRequest` functions.
- `store_write` - read and write data to the user's Gaia hub in an app-specific storage bucket
- `publish_data` - publish data so that other users of the app can discover and interact with the user
- `email` - requests the user's email if available

## Authentication tokens

Expand Down

0 comments on commit 16cec2c

Please sign in to comment.