aiohttp-security/aiohttp_security/__init__.py

21 lines
545 B
Python
Raw Normal View History

2015-07-08 17:30:24 +00:00
from .abc import AbstractIdentityPolicy, AbstractAuthorizationPolicy
2017-02-05 23:11:32 +00:00
from .api import (
authorized_userid,
forget,
login_required,
permits,
remember,
setup,
)
2015-11-26 18:09:00 +00:00
from .cookies_identity import CookiesIdentityPolicy
from .session_identity import SessionIdentityPolicy
2015-07-08 17:30:24 +00:00
2016-10-22 17:29:30 +00:00
__version__ = '0.1.1'
2015-07-09 04:27:25 +00:00
2015-07-08 17:30:24 +00:00
__all__ = ('AbstractIdentityPolicy', 'AbstractAuthorizationPolicy',
2015-11-26 18:09:00 +00:00
'CookiesIdentityPolicy', 'SessionIdentityPolicy',
2015-07-08 17:30:24 +00:00
'remember', 'forget', 'authorized_userid',
2017-02-05 23:11:32 +00:00
'permits', 'setup', 'login_required')