Package oauth2client :: Module tools :: Class ClientRedirectServer |
[hide private]
[frames] | no frames]

# Class ClientRedirectServer

source code

    A server to handle OAuth 2.0 redirects back to localhost.

    Waits for a single request and parses the query parameters
    into query_params and then stops serving.

Instance Methods | [hide private]
Inherited from `BaseHTTPServer.HTTPServer`: `server_bind` Inherited from `SocketServer.TCPServer`: `__init__`, `close_request`, `fileno`, `get_request`, `server_activate`, `server_close`, `shutdown_request` Inherited from `SocketServer.BaseServer`: `finish_request`, `handle_error`, `handle_request`, `handle_timeout`, `process_request`, `serve_forever`, `shutdown`, `verify_request` Inherited from `SocketServer.BaseServer` (private): `_handle_request_noblock`

Class Variables | [hide private]
| query_params = `{}`
Inherited from `BaseHTTPServer.HTTPServer`: `allow_reuse_address` Inherited from `SocketServer.TCPServer`: `address_family`, `request_queue_size`, `socket_type` Inherited from `SocketServer.BaseServer`: `timeout`