File: auth.rst

package info (click to toggle)
eodag 3.10.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 48,500 kB
  • sloc: python: 41,542; xml: 3,791; makefile: 27; sh: 9
file content (35 lines) | stat: -rw-r--r-- 1,315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.. module:: eodag.plugins.authentication

======================
Authentication Plugins
======================

Multiple authentication plugins can be defined per provider under ``auth``, ``search_auth``, or ``download_auth``
`provider configuration entries <../add_provider.rst>`_. They are shared across all providers, and can be identified
using *matching settings* :attr:`~eodag.config.PluginConfig.matching_url` and
:attr:`~eodag.config.PluginConfig.matching_conf` as configuration parameters.
Credentials are automatically shared between plugins having the same *matching settings*.
Authentication plugins without *matching settings* configured will not be shared and will automatically match their
provider.

Authentication plugins must inherit the following class and implement :meth:`authenticate`:

.. autoclass:: eodag.plugins.authentication.base.Authentication
   :members:

This table lists all the authentication plugins currently available:

.. autosummary::
   :toctree: generated/

   generic.GenericAuth
   token.TokenAuth
   header.HTTPHeaderAuth
   aws_auth.AwsAuth
   oauth.OAuth
   openid_connect.OIDCRefreshTokenBase
   openid_connect.OIDCAuthorizationCodeFlowAuth
   keycloak.KeycloakOIDCPasswordAuth
   token_exchange.OIDCTokenExchangeAuth
   qsauth.HttpQueryStringAuth
   sas_auth.SASAuth