class SecureCookieSessionInterface(SessionInterface):
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 |
SessionMixin
.Parameters | |
app:Flask | Undocumented |
request:Request | Undocumented |
Returns | |
t.Optional[ | Undocumented |
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:Flask | Undocumented |
session:SessionMixin | Undocumented |
response:Response | Undocumented |
Undocumented
Parameters | |
app:Flask | Undocumented |
Returns | |
t.Optional[ | Undocumented |