class documentation

class SecureCookieSessionInterface(SessionInterface):

View In Hierarchy

The default session interface that stores sessions in signed cookies through the itsdangerous module.
Method open​_session No summary
Method save​_session No summary
Class Variable key​_derivation Undocumented
Class Variable salt Undocumented
Method get​_signing​_serializer Undocumented
Class Variable digest​_method Undocumented

Inherited from SessionInterface:

Method get​_cookie​_domain Returns the domain that should be set for the session cookie.
Method get​_cookie​_httponly Returns True if the session cookie should be httponly. This currently just returns the value of the SESSION_COOKIE_HTTPONLY config var.
Method get​_cookie​_name Returns the name of the session cookie.
Method get​_cookie​_path No summary
Method get​_cookie​_samesite Return 'Strict' or 'Lax' if the cookie should use the SameSite attribute. This currently just returns the value of the SESSION_COOKIE_SAMESITE setting.
Method get​_cookie​_secure Returns True if the cookie should be secure. This currently just returns the value of the SESSION_COOKIE_SECURE setting.
Method get​_expiration​_time No summary
Method is​_null​_session Checks if a given object is a null session. Null sessions are not asked to be saved.
Method make​_null​_session No summary
Method should​_set​_cookie No summary
Class Variable pickle​_based Undocumented
def open_session(self, app, request):
This method has to be implemented and must either return None in case the loading failed because of a configuration error or an instance of a session object which implements a dictionary like interface + the methods and attributes on SessionMixin.
Parameters
app:FlaskUndocumented
request:RequestUndocumented
Returns
t.Optional[SecureCookieSession]Undocumented
def save_session(self, app, session, response):
This is called for actual sessions returned by open_session at the end of the request. This is still called during a request context so if you absolutely need access to the request you can do that.
Parameters
app:FlaskUndocumented
session:SessionMixinUndocumented
response:ResponseUndocumented
key_derivation: str =

Undocumented

salt: str =

Undocumented

def get_signing_serializer(self, app):

Undocumented

Parameters
app:FlaskUndocumented
Returns
t.Optional[URLSafeTimedSerializer]Undocumented
digest_method =

Undocumented