flask-secretbox-session-0.1.0
توضیحات
Flask client side session serializer, using Sodium SecretBox authenticated encryption
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flask-secretbox-session-0.1.0 |
| نام | flask-secretbox-session |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Peter Parkanyi |
| ایمیل نویسنده | me@rhapsodhy.hu |
| آدرس صفحه اصلی | https://github.com/rsdy/flask-secretbox-session |
| آدرس اینترنتی | https://pypi.org/project/flask-secretbox-session/ |
| مجوز | BSD |
Flask-SecretBox-Session
=======================
This is a Flask session serializer that encrypts the session using crypto_secretbox.
Flask-SecretBox-Session is a drop-in replacement for the default Flask session serializer.
Usage
-----
from secretbox_session import SecretboxCookieSessionInterface
app.session_interface = SecretboxCookieSessionInterface()
To override the key used for storing the timestamp for avoiding clashes with
your own session objects, you can use the `timestamp_key` named argument, like
so:
app.session_interface = SecretboxCookieSessionInterface(timestamp_key='__timestamp')
The default value of `timestamp_key` is `'__session_timestamp__'`.
License
-------
Distributed under the [2-clause BSD](http://opensource.org/licenses/BSD-2-Clause).
نحوه نصب
نصب پکیج whl flask-secretbox-session-0.1.0:
pip install flask-secretbox-session-0.1.0.whl
نصب پکیج tar.gz flask-secretbox-session-0.1.0:
pip install flask-secretbox-session-0.1.0.tar.gz