offlineimap.conf: XOAUTH2: expose and document the oauth2_request_url option

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-04-25 17:39:47 +02:00
parent 2fc5d2a814
commit be940f3784

View File

@ -778,6 +778,7 @@ remoteuser = username
# #
# Mandatory parameters are "oauth2_client_id", "oauth2_client_secret" and # Mandatory parameters are "oauth2_client_id", "oauth2_client_secret" and
# either "oauth2_refresh_token" or "oauth2_access_token". # either "oauth2_refresh_token" or "oauth2_access_token".
#
# See below to learn how to get those. # See below to learn how to get those.
# #
# Specify the OAuth2 client id and secret to use for the connection.. # Specify the OAuth2 client id and secret to use for the connection..
@ -809,9 +810,13 @@ remoteuser = username
# allows offlineimap to obtain new access tokens. # allows offlineimap to obtain new access tokens.
# #
# If you want to use a refresh token, make sure you disabled/removed any # If you want to use a refresh token, make sure you disabled/removed any
# oauth2_access_token option. # oauth2_access_token option. The access token is downloaded from the URL
# defined in the oauth2_request_url configuration option.
# If the type of the remote is IMAP, oauth2_request_url MUST be defined.
# For Gmail, the default URL is https://accounts.google.com/o/oauth2/token.
# #
#oauth2_access_token = ACCESS_TOKEN #oauth2_access_token = ACCESS_TOKEN
#oauth2_request_url = https://accounts.google.com/o/oauth2/token
#oauth2_refresh_token = REFRESH_TOKEN #oauth2_refresh_token = REFRESH_TOKEN
########## Passwords ########## Passwords