aiohttp-security/aiohttp_security/__init__.py

19 lines
791 B
Python
Raw Normal View History

from .abc import AbstractAuthorizationPolicy, AbstractIdentityPolicy
2018-09-06 10:06:55 +00:00
from .api import (authorized_userid, forget, has_permission,
is_anonymous, login_required, permits, remember,
setup, check_authorized, check_permission)
2015-11-26 18:09:00 +00:00
from .cookies_identity import CookiesIdentityPolicy
from .session_identity import SessionIdentityPolicy
from .jwt_identity import JWTIdentityPolicy
2015-07-08 17:30:24 +00:00
2018-09-06 10:06:55 +00:00
__version__ = '0.3.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',
'JWTIdentityPolicy',
2015-07-08 17:30:24 +00:00
'remember', 'forget', 'authorized_userid',
'permits', 'setup', 'is_anonymous',
2018-09-06 10:06:55 +00:00
'login_required', 'has_permission',
'check_authorized', 'check_permission')