magpie.api.login.wso2
¶
Module Contents¶
Classes¶
Base class for |oauth2|_ providers. |
Attributes¶
- class magpie.api.login.wso2.WSO2(*args, **kwargs)[source]¶
Bases:
authomatic.providers.oauth2.OAuth2
Base class for |oauth2|_ providers.
Accepts additional keyword arguments:
- Parameters:
scope (list) – List of strings specifying requested permissions as described in the OAuth 2.0 spec.
offline (bool) – If
True
the provider will be set up to request an offline access token. Default isFalse
.certificate_file (str) – Certificate file to employ for HTTPS connection where needed.
ssl_verify (bool) – Certificate file to employ for HTTPS connection where needed.
As well as those inherited from
AuthorizationProvider
constructor.