magpie.api.login.esgfopenid

Providers which implement the openid protocol based on the appropriate python-openid/python3-openid library.

Classes

ESGFOpenID

ESGF - Earth System Grid Federation

Module Contents

class magpie.api.login.esgfopenid.ESGFOpenID(*args, **kwargs)[source]

Bases: authomatic.providers.openid.OpenID

ESGF - Earth System Grid Federation

authomatic.providers.openid.OpenID provider with a common provider url template : https://{hostname}/{provider}-idp/idp/{username}.

Accepts additional keyword arguments:

Parameters:
  • hostname – The hostname of the ESGF OpenID provider. Default: localhost

  • provider_url – The provider identifier url template. Default: https://{hostname}/{provider}-idp/idp/{username}

hostname[source]
provider_url[source]