SASAuth#
- class eodag.plugins.authentication.sas_auth.SASAuth(provider, config)[source]#
SASAuth authentication plugin
An apiKey that is added in the headers can be given in the credentials in the config file.
- Parameters:
provider (
str
) – provider nameconfig (
PluginConfig
) –Authentication plugin configuration:
type
(str
) (mandatory): SASAuthauth_uri
(str
) (mandatory): url used to get the signed urlsigned_url_key
(str
) (mandatory): key to get the signed urlheaders
(Dict[str, str]
) (mandatory if apiKey is used): headers to be added to the requestsssl_verify
(bool
): if the ssl certificates should be verified in the requests; default:True
- __init__(provider, config)#
- Parameters:
provider (
str
)config (
PluginConfig
)
Methods
__init__
(provider, config)authenticate
()Authenticate
validate_config_credentials
()Validate configured credentials
Attributes
plugins