Module Assign NameStore Str ImportFrom alias alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Return BinOpMod Str TupleLoad NameLoad decorator_list TryExcept body Import alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If CompareIn Str NameLoad body If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str If Call AttributeLoad NameLoad attr body Assign NameStore BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index TupleLoad NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assert NameLoad BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad If CompareNotEq NameLoad BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr body Return NameLoad Assign NameStore TupleLoad NameLoad NameLoad Return CompareIsNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Return If CompareIn AttributeLoad NameLoad attr ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Return Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body If CompareIn Str AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assert Num BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad decorator_list Assign NameStore ListLoad TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Str keyword BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Str keyword BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Assert BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Call NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Call NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Dict Str Str NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore Dict Str Str NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Slice Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareEq NameLoad NameLoad body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr Num Str keyword NameLoad keyword BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad NameLoad attr body Assign NameStore BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr Num Str keyword NameLoad keyword BinOpMod Str TupleLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Str keyword BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpAdd Str NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Print Str Print AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore Str Assign NameStore Num TryExcept body Import alias handlers ExceptHandler type NameLoad body Pass orelse Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad
N/A N/A __copyright__ Copyright 2005-2008, Janrain, Inc. BaseHTTPServer HTTPServer BaseHTTPRequestHandler urlparse urlparse N/A time N/A Cookie N/A cgi N/A cgitb N/A sys quoteattr N/A N/A s N/A N/A N/A qs N/A N/A cgi escape s 1 N/A N/A "%s" N/A qs N/A N/A N/A N/A openid N/A N/A N/A ImportError N/A N/A N/A N/A N/A sys stderr write 
Failed to import the OpenID library. In order to use this example, you
must either install the library (see INSTALL in the root of the
distribution) or else add the library to python's import path (the
PYTHONPATH environment variable).

For more information, see the README in the root of the library
distribution. N/A N/A N/A sys exit 1 openid.extensions sreg openid.server server openid.store.filestore FileOpenIDStore openid.consumer discover OpenIDHTTPServer N/A HTTPServer N/A N/A 
    http server that contains a reference to an OpenID Server and
    knows its base URL.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A HTTPServer __init__ self args kwargs N/A N/A N/A self server_port 80 N/A N/A N/A self base_url N/A http://%s:%s/ N/A N/A self server_name N/A self server_port N/A N/A N/A self base_url N/A http://%s/ N/A N/A self server_name N/A N/A self openid None N/A N/A self approved N/A N/A N/A self lastCheckIDRequest N/A N/A setOpenIDServer N/A N/A self oidserver N/A N/A N/A N/A self openid oidserver N/A N/A ServerHandler N/A BaseHTTPRequestHandler N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self user None N/A N/A N/A BaseHTTPRequestHandler __init__ self args kwargs N/A do_GET N/A N/A self N/A N/A N/A N/A N/A N/A self parsed_uri N/A urlparse N/A self path N/A N/A self query N/A N/A N/A k v N/A N/A cgi parse_qsl N/A N/A self parsed_uri N/A 4 N/A N/A N/A N/A self query N/A k v N/A N/A N/A self setUser N/A path N/A N/A N/A N/A self parsed_uri N/A 2 lower N/A N/A path / N/A N/A N/A N/A self showMainPage N/A N/A N/A path /openidserver N/A N/A N/A N/A self serverEndPoint N/A self query N/A N/A N/A path /login N/A N/A N/A N/A self showLoginPage / / N/A N/A N/A path /loginsubmit N/A N/A N/A N/A self doLogin N/A N/A N/A N/A path startswith /id/ N/A N/A N/A N/A self showIdPage path N/A N/A N/A N/A path startswith /yadis/ N/A N/A N/A N/A self showYadis N/A path N/A 7 N/A N/A N/A path /serveryadis N/A N/A N/A N/A self showServerYadis N/A N/A N/A N/A self send_response 404 N/A N/A N/A self end_headers N/A N/A N/A N/A KeyboardInterrupt SystemExit N/A N/A N/A N/A N/A N/A N/A self send_response 500 N/A N/A N/A self send_header Content-type text/html N/A N/A N/A self end_headers N/A N/A N/A N/A self wfile write N/A N/A cgitb html N/A N/A sys exc_info context 10 N/A do_POST N/A N/A self N/A N/A N/A N/A N/A N/A self parsed_uri N/A urlparse N/A self path N/A N/A N/A self setUser N/A content_length N/A int N/A N/A self headers N/A Content-Length N/A post_data N/A N/A N/A self rfile read content_length N/A N/A self query N/A N/A N/A k v N/A N/A cgi parse_qsl post_data N/A N/A N/A N/A self query N/A k v N/A path N/A N/A self parsed_uri N/A 2 N/A N/A path /openidserver N/A N/A N/A N/A self serverEndPoint N/A self query N/A N/A N/A path /allow N/A N/A N/A N/A self handleAllow N/A self query N/A N/A N/A N/A self send_response 404 N/A N/A N/A self end_headers N/A N/A N/A N/A KeyboardInterrupt SystemExit N/A N/A N/A N/A N/A N/A N/A self send_response 500 N/A N/A N/A self send_header Content-type text/html N/A N/A N/A self end_headers N/A N/A N/A N/A self wfile write N/A N/A cgitb html N/A N/A sys exc_info context 10 N/A handleAllow N/A N/A self query N/A N/A N/A request N/A N/A N/A N/A self server lastCheckIDRequest get N/A self user N/A N/A yes query N/A N/A N/A login_as query N/A N/A N/A self user N/A N/A self query N/A login_as N/A N/A N/A request idSelect N/A N/A identity N/A N/A N/A N/A self server base_url id/ N/A query N/A identifier N/A N/A identity N/A request identity N/A trust_root N/A request trust_root N/A N/A N/A N/A N/A self query get remember no yes N/A N/A N/A N/A N/A self server approved N/A N/A identity trust_root always N/A response N/A N/A self approved request identity N/A N/A N/A no query N/A N/A response N/A N/A request answer False N/A N/A False N/A strange allow post.  %r N/A query N/A N/A N/A self displayResponse response N/A setUser N/A N/A self N/A N/A N/A cookies N/A N/A N/A self headers get Cookie N/A cookies N/A N/A morsel N/A N/A N/A N/A Cookie BaseCookie cookies get user N/A morsel N/A N/A N/A self user N/A morsel value N/A isAuthorized N/A N/A self identity_url trust_root N/A N/A N/A N/A N/A self user None N/A N/A False N/A N/A identity_url N/A N/A N/A N/A self server base_url id/ N/A self user N/A N/A False N/A key N/A identity_url trust_root N/A N/A N/A N/A N/A N/A self server approved get key None N/A serverEndPoint N/A N/A self query N/A N/A N/A N/A N/A request N/A N/A N/A N/A self server openid decodeRequest query N/A N/A N/A N/A server ProtocolError N/A why N/A N/A N/A N/A self displayResponse why N/A N/A N/A request None N/A N/A N/A N/A self showAboutPage N/A N/A N/A N/A request mode N/A checkid_immediate checkid_setup N/A N/A N/A N/A self handleCheckIDRequest request N/A N/A response N/A N/A N/A N/A self server openid handleRequest request N/A N/A N/A self displayResponse response N/A addSRegResponse N/A N/A self request response N/A N/A N/A sreg_req N/A N/A N/A sreg SRegRequest fromOpenIDRequest request N/A sreg_data N/A nickname N/A self user N/A sreg_resp N/A N/A N/A sreg SRegResponse extractResponse sreg_req sreg_data N/A N/A N/A response addExtension sreg_resp N/A approved N/A N/A self request identifier N/A None N/A N/A response N/A N/A request answer True identity identifier N/A N/A N/A self addSRegResponse request response N/A response N/A handleCheckIDRequest N/A N/A self request N/A N/A N/A is_authorized N/A N/A self isAuthorized N/A request identity N/A request trust_root N/A is_authorized N/A N/A response N/A N/A self approved request N/A N/A N/A self displayResponse response N/A N/A N/A request immediate N/A N/A response N/A N/A request answer False N/A N/A N/A self displayResponse response N/A N/A N/A N/A N/A self server lastCheckIDRequest N/A N/A self user request N/A N/A N/A self showDecidePage request N/A displayResponse N/A N/A self response N/A N/A N/A N/A N/A webresponse N/A N/A N/A N/A self server openid encodeResponse response N/A N/A N/A N/A server EncodingError N/A why N/A N/A text N/A N/A N/A why response encodeToKVForm N/A N/A N/A self showErrorPage N/A <pre>%s</pre> N/A N/A cgi escape text N/A N/A N/A N/A self send_response N/A webresponse code N/A N/A header value N/A N/A N/A webresponse headers iteritems N/A N/A N/A N/A self send_header header value N/A N/A N/A self writeUserHeader N/A N/A N/A self end_headers N/A N/A webresponse body N/A N/A N/A N/A N/A self wfile write N/A webresponse body N/A doLogin N/A N/A self N/A N/A N/A N/A submit N/A self query N/A N/A N/A user N/A self query N/A N/A N/A self user N/A N/A self query N/A user N/A N/A N/A self user None N/A N/A N/A self redirect N/A N/A self query N/A success_to N/A N/A N/A cancel N/A self query N/A N/A N/A N/A self redirect N/A N/A self query N/A fail_to N/A N/A 0 N/A strange login %r N/A N/A self query N/A redirect N/A N/A self url N/A N/A N/A N/A N/A self send_response 302 N/A N/A N/A self send_header Location url N/A N/A N/A self writeUserHeader N/A N/A N/A self end_headers N/A writeUserHeader N/A N/A self N/A N/A N/A N/A N/A self user None N/A N/A t1970 N/A N/A time gmtime 0 N/A expires N/A N/A time strftime Expires=%a, %d-%b-%y %H:%M:%S GMT t1970 N/A N/A N/A self send_header Set-Cookie N/A user=;%s expires N/A N/A N/A N/A self send_header Set-Cookie N/A user=%s N/A self user N/A showAboutPage N/A N/A self N/A N/A N/A endpoint_url N/A N/A N/A self server base_url openidserver link N/A N/A url N/A N/A N/A url_attr N/A quoteattr url N/A url_text N/A N/A cgi escape url N/A N/A <a href=%s><code>%s</code></a> N/A url_attr url_text N/A term N/A N/A url text N/A N/A N/A N/A <dt>%s</dt><dd>%s</dd> N/A N/A link url text N/A N/A resources N/A N/A N/A N/A self server base_url This example server's home page N/A http://www.openidenabled.com/ An OpenID community Web site, home of this library N/A http://www.openid.net/ the official OpenID Web site N/A resource_markup N/A N/A join N/A N/A term url text N/A N/A url text resources N/A N/A N/A self showPage 200 This is an OpenID server msg N/A         <p>%s is an OpenID server endpoint.<p>
        <p>For more information about OpenID, see:</p>
        <dl>
        %s
        </dl>
         N/A N/A link endpoint_url resource_markup N/A showErrorPage N/A N/A self error_message N/A N/A N/A N/A N/A self showPage 400 Error Processing Request err N/A         <p>%s</p>
        <!--

        This is a large comment.  It exists to make this page larger.
        That is unfortunately necessary because of the "smart"
        handling of pages returned with an error code in IE.

        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************
        *************************************************************

        -->
         error_message N/A showDecidePage N/A N/A self request N/A N/A N/A id_url_base N/A N/A N/A self server base_url id/ N/A N/A N/A N/A N/A request identity startswith id_url_base N/A N/A request idSelect N/A repr N/A N/A request identity id_url_base N/A expected_user N/A N/A request identity N/A N/A len id_url_base N/A N/A N/A request idSelect N/A N/A msg             <p>A site has asked for your identity.  You may select an
            identifier by which you would like this site to know you.
            On a production site this would likely be a drop down list
            of pre-created accounts or have the facility to generate
            a random anonymous identifier.
            </p>
             N/A fdata N/A id_url_base trust_root id_url_base N/A request trust_root N/A form N/A             <form method="POST" action="/allow">
            <table>
              <tr><td>Identity:</td>
                 <td>%(id_url_base)s<input type='text' name='identifier'></td></tr>
              <tr><td>Trust Root:</td><td>%(trust_root)s</td></tr>
            </table>
            <p>Allow this authentication to proceed?</p>
            <input type="checkbox" id="remember" name="remember" value="yes"
                /><label for="remember">Remember this
                decision</label><br />
            <input type="submit" name="yes" value="yes" />
            <input type="submit" name="no" value="no" />
            </form>
             fdata N/A N/A N/A expected_user N/A self user N/A N/A msg             <p>A new site has asked to confirm your identity.  If you
            approve, the site represented by the trust root below will
            be told that you control identity URL listed below. (If
            you are using a delegated identity, the site will take
            care of reversing the delegation on its own.)</p> N/A fdata N/A identity trust_root N/A request identity N/A request trust_root N/A form N/A             <table>
              <tr><td>Identity:</td><td>%(identity)s</td></tr>
              <tr><td>Trust Root:</td><td>%(trust_root)s</td></tr>
            </table>
            <p>Allow this authentication to proceed?</p>
            <form method="POST" action="/allow">
              <input type="checkbox" id="remember" name="remember" value="yes"
                  /><label for="remember">Remember this
                  decision</label><br />
              <input type="submit" name="yes" value="yes" />
              <input type="submit" name="no" value="no" />
            </form> fdata N/A N/A mdata N/A expected_user user expected_user N/A self user N/A msg N/A             <p>A site has asked for an identity belonging to
            %(expected_user)s, but you are logged in as %(user)s.  To
            log in as %(expected_user)s and approve the login request,
            hit OK below.  The "Remember this decision" checkbox
            applies only to the trust root decision.</p> mdata N/A fdata N/A identity trust_root expected_user N/A request identity N/A request trust_root expected_user N/A form N/A             <table>
              <tr><td>Identity:</td><td>%(identity)s</td></tr>
              <tr><td>Trust Root:</td><td>%(trust_root)s</td></tr>
            </table>
            <p>Allow this authentication to proceed?</p>
            <form method="POST" action="/allow">
              <input type="checkbox" id="remember" name="remember" value="yes"
                  /><label for="remember">Remember this
                  decision</label><br />
              <input type="hidden" name="login_as" value="%(expected_user)s"/>
              <input type="submit" name="yes" value="yes" />
              <input type="submit" name="no" value="no" />
            </form> fdata N/A N/A N/A self showPage 200 Approve OpenID request? msg msg form form N/A showIdPage N/A N/A self path N/A N/A N/A link_tag N/A <link rel="openid.server" href="%sopenidserver"> N/A N/A self server base_url N/A yadis_loc_tag N/A <meta http-equiv="x-xrds-location" content="%s"> N/A N/A N/A N/A self server base_url yadis/ N/A path N/A 4 N/A disco_tags N/A link_tag yadis_loc_tag N/A ident N/A N/A N/A self server base_url N/A path N/A 1 N/A approved_trust_roots N/A N/A N/A aident trust_root N/A N/A N/A N/A self server approved keys N/A N/A N/A aident ident N/A N/A trs N/A <li><tt>%s</tt></li>
 N/A N/A cgi escape trust_root N/A N/A N/A approved_trust_roots append trs N/A approved_trust_roots N/A N/A prepend <p>Approved trust roots:</p>
<ul>
 N/A N/A N/A approved_trust_roots insert 0 prepend N/A N/A N/A approved_trust_roots append </ul>
 N/A msg N/A N/A join approved_trust_roots N/A N/A msg N/A N/A N/A self showPage 200 An Identity Page head_extras disco_tags msg N/A         <p>This is an identity page for %s.</p>
        %s
         N/A ident msg N/A showYadis N/A N/A self user N/A N/A N/A N/A N/A self send_response 200 N/A N/A N/A self send_header Content-type application/xrds+xml N/A N/A N/A self end_headers N/A endpoint_url N/A N/A N/A self server base_url openidserver N/A user_url N/A N/A N/A N/A self server base_url id/ user N/A N/A N/A N/A self wfile write N/A <?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS
    xmlns:xrds="xri://$xrds"
    xmlns="xri://$xrd*($v*2.0)">
  <XRD>

    <Service priority="0">
      <Type>%s</Type>
      <Type>%s</Type>
      <URI>%s</URI>
      <LocalID>%s</LocalID>
    </Service>

  </XRD>
</xrds:XRDS>
 N/A N/A discover OPENID_2_0_TYPE N/A discover OPENID_1_0_TYPE endpoint_url user_url N/A showServerYadis N/A N/A self N/A N/A N/A N/A N/A self send_response 200 N/A N/A N/A self send_header Content-type application/xrds+xml N/A N/A N/A self end_headers N/A endpoint_url N/A N/A N/A self server base_url openidserver N/A N/A N/A N/A self wfile write N/A <?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS
    xmlns:xrds="xri://$xrds"
    xmlns="xri://$xrd*($v*2.0)">
  <XRD>

    <Service priority="0">
      <Type>%s</Type>
      <URI>%s</URI>
    </Service>

  </XRD>
</xrds:XRDS>
 N/A N/A discover OPENID_IDP_2_0_TYPE endpoint_url N/A showMainPage N/A N/A self N/A N/A N/A yadis_tag N/A <meta http-equiv="x-xrds-location" content="%s"> N/A N/A N/A self server base_url serveryadis N/A N/A self user N/A N/A openid_url N/A N/A N/A N/A self server base_url id/ N/A self user N/A user_message N/A             <p>You are logged in as %s. Your OpenID identity URL is
            <tt><a href=%s>%s</a></tt>. Enter that URL at an OpenID
            consumer to test this server.</p>
             N/A N/A self user N/A quoteattr openid_url openid_url N/A N/A user_message             <p>This server uses a cookie to remember who you are in
            order to simulate a standard Web user experience. You are
            not <a href='/login'>logged in</a>.</p> N/A N/A N/A self showPage 200 Main Page head_extras yadis_tag msg N/A         <p>This is a simple OpenID server implemented using the <a
        href="http://openid.schtuff.com/">Python OpenID
        library</a>.</p>

        %s

        <p>To use this server with a consumer, the consumer must be
        able to fetch HTTP pages from this web server. If this
        computer is behind a firewall, you will not be able to use
        OpenID consumers outside of the firewall with it.</p>

        <p>The URL for this server is <a href=%s><tt>%s</tt></a>.</p>
         N/A user_message N/A quoteattr N/A N/A self server base_url N/A N/A self server base_url N/A showLoginPage N/A N/A self success_to fail_to N/A N/A N/A N/A N/A self showPage 200 Login Page form N/A         <h2>Login</h2>
        <p>You may log in with any name. This server does not use
        passwords because it is just a sample of how to use the OpenID
        library.</p>
        <form method="GET" action="/loginsubmit">
          <input type="hidden" name="success_to" value="%s" />
          <input type="hidden" name="fail_to" value="%s" />
          <input type="text" name="user" value="" />
          <input type="submit" name="submit" value="Log In" />
          <input type="submit" name="cancel" value="Cancel" />
        </form>
         N/A success_to fail_to N/A showPage N/A N/A self response_code title head_extras msg err form N/A None None None N/A N/A N/A N/A self user None N/A N/A user_link <a href="/login">not logged in</a>. N/A N/A user_link N/A logged in as <a href="/id/%s">%s</a>.<br /><a href="/loginsubmit?submit=true&success_to=/login">Log out</a> N/A N/A self user N/A self user N/A body N/A N/A err None N/A N/A body N/A             <div class="error">
              %s
            </div>
             err N/A N/A msg None N/A N/A body N/A             <div class="message">
              %s
            </div>
             msg N/A N/A form None N/A N/A body N/A             <div class="form">
              %s
            </div>
             form N/A contents N/A title head_extras body user_link N/A Python OpenID Server Example -  title head_extras body user_link N/A N/A N/A self send_response response_code N/A N/A N/A self writeUserHeader N/A N/A N/A self send_header Content-type text/html N/A N/A N/A self end_headers N/A N/A N/A N/A self wfile write N/A <html>
  <head>
    <title>%(title)s</title>
    %(head_extras)s
  </head>
  <style type="text/css">
      h1 a:link {
          color: black;
          text-decoration: none;
      }
      h1 a:visited {
          color: black;
          text-decoration: none;
      }
      h1 a:hover {
          text-decoration: underline;
      }
      body {
        font-family: verdana,sans-serif;
        width: 50em;
        margin: 1em;
      }
      div {
        padding: .5em;
      }
      table {
        margin: none;
        padding: none;
      }
      .banner {
        padding: none 1em 1em 1em;
        width: 100%%;
      }
      .leftbanner {
        text-align: left;
      }
      .rightbanner {
        text-align: right;
        font-size: smaller;
      }
      .error {
        border: 1px solid #ff0000;
        background: #ffaaaa;
        margin: .5em;
      }
      .message {
        border: 1px solid #2233ff;
        background: #eeeeff;
        margin: .5em;
      }
      .form {
        border: 1px solid #777777;
        background: #ddddcc;
        margin: .5em;
        margin-top: 1em;
        padding-bottom: 0em;
      }
      dd {
        margin-bottom: 0.5em;
      }
  </style>
  <body>
    <table class="banner">
      <tr>
        <td class="leftbanner">
          <h1><a href="/">Python OpenID Server Example</a></h1>
        </td>
        <td class="rightbanner">
          You are %(user_link)s
        </td>
      </tr>
    </table>
%(body)s
  </body>
</html>
 contents N/A N/A main N/A N/A host port data_path N/A N/A N/A addr N/A host port N/A httpserver N/A OpenIDHTTPServer addr ServerHandler N/A store N/A FileOpenIDStore data_path N/A oidserver N/A N/A server Server store N/A N/A httpserver base_url openidserver N/A N/A N/A httpserver setOpenIDServer oidserver N/A Server running at: N/A N/A httpserver base_url N/A N/A N/A httpserver serve_forever N/A N/A N/A __name__ __main__ N/A N/A host localhost N/A data_path sstore N/A port 8000 N/A N/A N/A optparse N/A N/A N/A ImportError N/A N/A N/A N/A parser N/A N/A optparse OptionParser Usage:
 %prog [options] N/A N/A N/A parser add_option -d --data-path dest data_path default data_path help Data directory for storing OpenID consumer state. Defaults to "%default" in the current directory. N/A N/A N/A parser add_option -p --port dest port type int default port help Port on which to listen for HTTP requests. Defaults to port %default. N/A N/A N/A parser add_option -s --host dest host default host help Host on which to listen for HTTP requests. Also used for generating URLs. Defaults to %default. N/A N/A options args N/A N/A parser parse_args N/A args N/A N/A N/A N/A parser error N/A Expected no arguments. Got %r args N/A host N/A options host N/A port N/A options port N/A data_path N/A options data_path N/A N/A main host port data_path