auth (certego_saas.apps.auth
)
backend.py
-
class
certego_saas.apps.auth.backend.
CachedCookieTokenAuthentication
[source] Bases:
durin.auth.CachedTokenAuthentication
Extends
durin.auth.CachedTokenAuthentication
.Authentication backend that checks for auth token inside both: - Cookie with key
TOKEN_COOKIE_NAME
(defaultCERTEGO_SAAS_AUTH_TOKEN
) - Header with keyAuthorization
-
class
certego_saas.apps.auth.backend.
CookieTokenAuthentication
[source] Bases:
durin.auth.TokenAuthentication
Extends
durin.auth.TokenAuthentication
.Authentication backend that checks for auth token inside both: - Cookie with key
TOKEN_COOKIE_NAME
(defaultCERTEGO_SAAS_AUTH_TOKEN
) - Header with keyAuthorization