2017-11-17 15:51:40 +00:00
|
|
|
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
|
2018-05-01 08:06:35 +00:00
|
|
|
from .jwt_identity import JWTIdentityPolicy
|
2015-07-08 17:30:24 +00:00
|
|
|
|
2018-09-27 07:30:18 +00:00
|
|
|
__version__ = '0.4.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',
|
2018-05-01 08:06:35 +00:00
|
|
|
'JWTIdentityPolicy',
|
2015-07-08 17:30:24 +00:00
|
|
|
'remember', 'forget', 'authorized_userid',
|
2017-11-17 15:51:40 +00:00
|
|
|
'permits', 'setup', 'is_anonymous',
|
2018-09-06 10:06:55 +00:00
|
|
|
'login_required', 'has_permission',
|
|
|
|
'check_authorized', 'check_permission')
|