|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /lib64/python2.7/site-packages/flask/ |
Upload File : |
�
-/�_c @ s d Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m
Z
d d l m Z d d
l m
Z
d d l m Z d e
j f d
� � YZ d e e f d � � YZ d e f d � � YZ d e f d � � YZ e � Z d e f d � � YZ d S( s�
flask.sessions
~~~~~~~~~~~~~~
Implements cookie based sessions based on itsdangerous.
:copyright: 2010 Pallets
:license: BSD-3-Clause
i����N( t datetime( t BadSignature( t URLSafeTimedSerializer( t CallbackDicti ( t collections_abc( t is_ip( t
total_seconds( t TaggedJSONSerializert SessionMixinc B sA e Z d Z e d � � Z e j d � � Z e Z e Z e Z
RS( s3 Expands a basic dictionary with session attributes.c C s | j d t � S( s3 This reflects the ``'_permanent'`` key in the dict.t
_permanent( t gett False( t self( ( s/ /tmp/pip-install-sTXtzD/flask/flask/sessions.pyt permanent s c C s t | � | d <d S( NR ( t bool( R t value( ( s/ /tmp/pip-install-sTXtzD/flask/flask/sessions.pyR
! s ( t __name__t
__module__t __doc__t propertyR
t setterR t newt Truet modifiedt accessed( ( ( s/ /tmp/pip-install-sTXtzD/flask/flask/sessions.pyR s t SecureCookieSessionc B sG e Z d Z e Z e Z d d � Z d � Z d d � Z d d � Z
RS( s Base class for sessions based on signed cookies.
This session backend will set the :attr:`modified` and
:attr:`accessed` attributes. It cannot reliably track whether a
session is new (vs. empty), so :attr:`new` remains hard coded to
``False``.
c C s&