add JWTIdentityPolicy into __init__ file. (#157)
This commit is contained in:
parent
f8dcc4a6de
commit
78e752e65f
|
@ -3,12 +3,14 @@ from .api import (authorized_userid, forget, has_permission, is_anonymous,
|
||||||
login_required, permits, remember, setup)
|
login_required, permits, remember, setup)
|
||||||
from .cookies_identity import CookiesIdentityPolicy
|
from .cookies_identity import CookiesIdentityPolicy
|
||||||
from .session_identity import SessionIdentityPolicy
|
from .session_identity import SessionIdentityPolicy
|
||||||
|
from .jwt_identity import JWTIdentityPolicy
|
||||||
|
|
||||||
__version__ = '0.2.0'
|
__version__ = '0.2.0'
|
||||||
|
|
||||||
|
|
||||||
__all__ = ('AbstractIdentityPolicy', 'AbstractAuthorizationPolicy',
|
__all__ = ('AbstractIdentityPolicy', 'AbstractAuthorizationPolicy',
|
||||||
'CookiesIdentityPolicy', 'SessionIdentityPolicy',
|
'CookiesIdentityPolicy', 'SessionIdentityPolicy',
|
||||||
|
'JWTIdentityPolicy',
|
||||||
'remember', 'forget', 'authorized_userid',
|
'remember', 'forget', 'authorized_userid',
|
||||||
'permits', 'setup', 'is_anonymous',
|
'permits', 'setup', 'is_anonymous',
|
||||||
'login_required', 'has_permission')
|
'login_required', 'has_permission')
|
||||||
|
|
Loading…
Reference in New Issue