For each product, there are three branches of document-related scopes: {product}.document.content
, {product}.document.app.folder
, and {product}.document.app.picker
.
- The
document.content
scopes are simplest. They grant access to all of the user's documents. - The
document.app.folder
scopes create a folder dedicated to your app, and grants access to all documents and subfolders within it. - The
document.app.picker
scopes are the most restrictive. Initially, they don't grant access to any documents. Instead, when your app needs access to a document, you show the user the document picker, and gain access to specific documents selected by the user. Once the user has granted your app access to a document once, your app will retain access to it until the user revokes that access.