Skip to content

Commit df27e67

Browse files
committed
Merge branch 'improve-authcode-receiver' into dev
2 parents b53684c + e28bec1 commit df27e67

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

oauth2cli/authcode.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,12 @@ def get_port(self):
126126
# https://docs.python.org/2.7/library/socketserver.html#SocketServer.BaseServer.server_address
127127
return self._server.server_address[1]
128128

129-
def get_auth_response(self, auth_uri=None, text=None, timeout=None, state=None,
129+
def get_auth_response(self, auth_uri=None, timeout=None, state=None,
130130
welcome_template=None, success_template=None, error_template=None):
131131
"""Wait and return the auth response, or None when timeout.
132132
133133
:param str auth_uri:
134134
If provided, this function will try to open a local browser.
135-
:param str text:
136-
If provided (together with auth_uri),
137-
this function will render a landing page with ``text`` in your browser.
138-
This can be used to make testing more readable.
139135
:param int timeout: In seconds. None means wait indefinitely.
140136
:param str state:
141137
You may provide the state you used in auth_url,

0 commit comments

Comments
 (0)