| Home | Trees | Index | Help |
|
|---|
| Package openid :: Package server :: Module trustroot |
|
This module contains the class, which helps handle
trust root checking. This module is used by the TrustRoot module, but it
is also available to server implementers who wish to use it for
additional trust root checking.openid.server.server
| Classes | |
|---|---|
TrustRoot |
This class represents an OpenID trust root. |
| Function Summary | |
|---|---|
| [str] |
Given a relying party discovery URL and its corresponding XRDS document, return a list of return_to URLs. |
Is the return_to URL under one of the supplied allowed return_to URLs? | |
Verify that a return_to URL is valid for the given realm. | |
| Function Details |
|---|
extractReturnToURLs(rp_uri, xrds_text)Given a relying party discovery URL and its corresponding XRDS document, return a list of return_to URLs.
|
returnToMatches(allowed_return_to_urls, return_to)Is the return_to URL under one of the supplied allowed return_to URLs? |
verifyReturnTo(realm_str, return_to, _vrfy=<function verifyWithRelyingPartyURL at 0x823fcdc>)Verify that a return_to URL is valid for the given realm. This function builds a discovery URL, performs Yadis discovery on it, makes sure that the URL does not redirect, parses out the return_to URLs, and finally checks to see if the current return_to URL matches the return_to.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Aug 27 19:22:44 2007 | http://epydoc.sf.net |