From a78764536fd69386d4b801249af3f38442fc3de3 Mon Sep 17 00:00:00 2001 From: Frederik Creemers Date: Sat, 11 Jul 2015 09:55:19 +0200 Subject: [PATCH] Documented 'state' parameter. --- oauth2client/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oauth2client/client.py b/oauth2client/client.py index 9f200b7..1101c6d 100644 --- a/oauth2client/client.py +++ b/oauth2client/client.py @@ -1857,6 +1857,8 @@ class OAuth2WebServerFlow(Flow): a non-web-based application, or a URI that handles the callback from the authorization server. This parameter is deprecated, please move to passing the redirect_uri in via the constructor. + state: string, Opaque state string which is passed through the OAuth2 flow + and returned to the client as a query parameter in the callback. Returns: A URI as a string to redirect the user to begin the authorization flow.