Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

galaxy.openid package

OpenID functionality

Submodules

galaxy.openid.openid_manager module

Manage the OpenID consumer and related data stores.

galaxy.openid.openid_manager.oidlog(message, level=0)[source]
class galaxy.openid.openid_manager.OpenIDManager(cache_path)[source]

Bases: object

__init__(cache_path)[source]

Initialize self. See help(type(self)) for accurate signature.

get_session(trans)[source]
persist_session(trans, oidconsumer)[source]
get_consumer(trans)[source]
add_sreg(trans, request, required=None, optional=None)[source]
get_sreg(info)[source]
FAILURE = 'failure'
SUCCESS = 'success'
CANCEL = 'cancel'
SETUP_NEEDED = 'setup_needed'

galaxy.openid.providers module

Contains OpenID provider functionality

class galaxy.openid.providers.OpenIDProvider(id, name, op_endpoint_url, sreg_required=None, sreg_optional=None, use_for=None, store_user_preference=None, never_associate_with_user=None)[source]

Bases: object

An OpenID Provider object.

classmethod from_file(filename)[source]
classmethod from_elem(xml_root)[source]
__init__(id, name, op_endpoint_url, sreg_required=None, sreg_optional=None, use_for=None, store_user_preference=None, never_associate_with_user=None)[source]

When sreg options are not specified, defaults are used.

post_authentication(trans, openid_manager, info)[source]
has_post_authentication_actions()[source]
class galaxy.openid.providers.OpenIDProviders(providers=None)[source]

Bases: object

Collection of OpenID Providers

NO_PROVIDER_ID = 'None'
classmethod from_file(filename)[source]
classmethod from_elem(xml_root)[source]
__init__(providers=None)[source]

Initialize self. See help(type(self)) for accurate signature.

get(name, default=None)[source]
new_provider_from_identifier(identifier)[source]