Docs improvements, lint error fixes.

This commit is contained in:
Burcu Dogan
2014-08-13 13:40:18 -07:00
parent 03e5fbeae0
commit f9dc7568c2
4 changed files with 12 additions and 12 deletions

View File

@@ -61,8 +61,8 @@ type Options struct {
// granting (or denying) access.
RedirectURL string `json:"redirect_url"`
// Optional, identifies the level of access being requested.
Scopes []string `json:"scopes"`
// Scopes optionally specifies a list of requested permission scopes.
Scopes []string `json:"scopes,omitempty"`
// AccessType is an OAuth extension that gets sent as the
// "access_type" field in the URL from AuthCodeURL.