assembl.auth.generic_auth_backend module

class assembl.auth.generic_auth_backend.GenericAuth(strategy=None, redirect_uri=None, name=None)[source]

Bases: social_core.backends.base.BaseAuth

A backend which takes all its attributes from configuration file

setting(name, default=None)[source]

Look in data first

class assembl.auth.generic_auth_backend.GenericOAuth2(strategy=None, redirect_uri=None, name=None)[source]

Bases: assembl.auth.generic_auth_backend.GenericAuth, social_core.backends.oauth.BaseOAuth2

A Generic OAuth2 client

get_user_details(response)[source]

Return user details from arbitrary account

user_data(access_token, *args, **kwargs)[source]

Loads user data from service

assembl.auth.generic_auth_backend.includeme(config)[source]

Monkey-patch load_backend.