2017-11-17 15:51:40 +00:00
|
|
|
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',
|
2017-11-17 15:51:40 +00:00
|
|
|
'permits', 'setup', 'is_anonymous',
|
|
|
|
'login_required', 'has_permission')
|