authenticator.services.sessions module¶
Provide service API for distributed sessions.
This module maps modules and functions required by the accounts service to
corresponding objects in the arxiv.users
package.
-
authenticator.services.sessions.
load
(self, cookie: str, *, decode: bool = False) → arxiv.users.domain.Session¶ Load a session using a session cookie.
-
authenticator.services.sessions.
load_by_id
(self, cookie: str, *, decode: bool = False) → arxiv.users.domain.Session¶ Load a session using a session cookie.