From 53c5ae1b315c6a27ac936e8c04dc6ccf73ce7e70 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Thu, 5 Feb 2015 14:49:57 +1100 Subject: [PATCH] oauth2: Fix some redundant wording in the docs for AccessTypeOnline. Change-Id: I124553bd38b229e409e152cf364d55c847b70ba4 Reviewed-on: https://go-review.googlesource.com/3950 Reviewed-by: Brad Fitzpatrick --- oauth2.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/oauth2.go b/oauth2.go index a562f5e..c05dd68 100644 --- a/oauth2.go +++ b/oauth2.go @@ -78,11 +78,11 @@ var ( // "access_type" field that gets sent in the URL returned by // AuthCodeURL. // - // Online (the default if neither is specified) is the default. - // If your application needs to refresh access tokens when the - // user is not present at the browser, then use offline. This - // will result in your application obtaining a refresh token - // the first time your application exchanges an authorization + // Online is the default if neither is specified. If your + // application needs to refresh access tokens when the user + // is not present at the browser, then use offline. This will + // result in your application obtaining a refresh token the + // first time your application exchanges an authorization // code for a user. AccessTypeOnline AuthCodeOption = setParam{"access_type", "online"} AccessTypeOffline AuthCodeOption = setParam{"access_type", "offline"}