drive_scopes function

Produce scopes specific to the Drive API

Produce scopes specific to the Drive API

When called with no arguments, drive_scopes() returns a named character vector of scopes associated with the Drive API. If drive_scopes(scopes =) is given, an abbreviated entry such as "drive.readonly" is expanded to a full scope ("https://www.googleapis.com/auth/drive.readonly" in this case). Unrecognized scopes are passed through unchanged.

drive_scopes(scopes = NULL)

Arguments

Returns

A character vector of scopes.

Examples

drive_scopes("full") drive_scopes("drive.readonly") drive_scopes()

See Also

https://developers.google.com/drive/api/guides/api-specific-auth for details on the permissions for each scope.

Other auth functions: drive_auth_configure(), drive_auth(), drive_deauth()