magpie.adapter.magpieowssecurity
¶
Module Contents¶
Classes¶
-
class
magpie.adapter.magpieowssecurity.
MagpieOWSSecurity
(request)[source]¶ Bases:
twitcher.owssecurity.OWSSecurityInterface
Ensure login of the user and update the request cookies if Twitcher is in a special configuration.
Only update if MAGPIE_COOKIE_NAME is missing and is retrievable from access_token in Authorization header. Counter-validate the login procedure by calling Magpie’s /session which should indicated a logged user.