ucam_webauth.raven¶
Raven
The Raven module subclasses ucam_webauth.Request and
ucam_webauth.Response in order to use the Raven URLs and the Raven
response settings (default ptags and signing keys).
-
ucam_webauth.raven.PUBKEY2¶ The key used to verify responses, from https://raven.cam.ac.uk/project/keys/
-
ucam_webauth.raven.RAVEN_AUTH¶ The WLS’ authentication start page:
RAVEN_AUTH.format(quoted_query_string)will produce a request
-
ucam_webauth.raven.RAVEN_LOGOUT¶ The WLS’ logout page: redirecting to this URL will log the user out of Raven completely.
-
class
ucam_webauth.raven.Request(url, desc=None, aauth=None, iact=None, msg=None, params=None, fail=None, encode_strings=True)[source]¶ ucam_webauth.Request, configured for live RavenRefer to
ucam_webauthfor documentation.
-
class
ucam_webauth.raven.Response(string)[source]¶ ucam_webauth.Response, configured for live RavenRefer to
ucam_webauthfor documentation.
flask_glue¶
-
class
ucam_webauth.raven.flask_glue.AuthDecorator(desc=None, aauth=None, iact=None, msg=None, max_life=7200, use_wls_life=False, inactive_timeout=None, issue_bounds=(15, 5), require_principal=None, require_ptags=frozenset([u'current']), can_trust_request_host=False)[source]¶ ucam_webauth.flask_glue.AuthDecorator, configured for live RavenRefer to
ucam_webauth.flask_gluefor documentation.-
request_class¶ alias of
ucam_webauth.raven.Request
-
response_class¶ alias of
ucam_webauth.raven.Response
-
logout_url= u'https://raven.cam.ac.uk/auth/logout.html'¶
-
demoserver¶
Raven Demo Server
Provides Request and Response subclasses (as in the raven module), except these use the settings of the Raven Demo Server, http://raven.cam.ac.uk/project/test-demo/
-
ucam_webauth.raven.demoserver.PUBKEY901¶ The key used to verify responses, from https://raven.cam.ac.uk/project/keys/demo_server/
-
ucam_webauth.raven.demoserver.RAVEN_DEMO_AUTH¶ The WLS’ authentication start page:
RAVEN_DEMO_AUTH.format(quoted_query_string)will produce a request
-
ucam_webauth.raven.demoserver.RAVEN_DEMO_LOGOUT¶ The WLS’ logout page: redirecting to this URL will log the user out of Raven completely.
-
class
ucam_webauth.raven.demoserver.Request(url, desc=None, aauth=None, iact=None, msg=None, params=None, fail=None, encode_strings=True)[source]¶ ucam_webauth.Request, configured for the Raven demo serverRefer to
ucam_webauthfor documentation.
-
class
ucam_webauth.raven.demoserver.Response(string)[source]¶ ucam_webauth.Response, configured for the Raven demo serverRefer to
ucam_webauthfor documentation.