magpie.adapter.magpieowssecurity¶
Module Contents¶
-
class
magpie.adapter.magpieowssecurity.MagpieOWSSecurity(request)[source]¶ Bases:
magpie.definitions.twitcher_definitions.OWSSecurityInterfaceEnsure 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.