aiohttp-security/aiohttp_security/__init__.py

17 lines
686 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
from .jwt_identity import JWTIdentityPolicy
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',
'JWTIdentityPolicy',
2015-07-08 17:30:24 +00:00
'remember', 'forget', 'authorized_userid',
'permits', 'setup', 'is_anonymous',
'login_required', 'has_permission')