aiohttp-security/aiohttp_security/__init__.py

15 lines
610 B
Python
Raw Normal View History

from .abc import AbstractAuthorizationPolicy, AbstractIdentityPolicy
from .api import (authorized_userid, forget, has_permission, is_anonymous,
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
2017-11-17 15:54:46 +00:00
__version__ = '0.2.0'
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',
'permits', 'setup', 'is_anonymous',
'login_required', 'has_permission')