From 78e752e65f7b734fe6739685f42abcdea05f83bf Mon Sep 17 00:00:00 2001 From: Alexander Pantyukhin Date: Tue, 1 May 2018 12:06:35 +0400 Subject: [PATCH] add JWTIdentityPolicy into __init__ file. (#157) --- aiohttp_security/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aiohttp_security/__init__.py b/aiohttp_security/__init__.py index 24d812b..937d858 100644 --- a/aiohttp_security/__init__.py +++ b/aiohttp_security/__init__.py @@ -3,12 +3,14 @@ from .api import (authorized_userid, forget, has_permission, is_anonymous, login_required, permits, remember, setup) from .cookies_identity import CookiesIdentityPolicy from .session_identity import SessionIdentityPolicy +from .jwt_identity import JWTIdentityPolicy __version__ = '0.2.0' __all__ = ('AbstractIdentityPolicy', 'AbstractAuthorizationPolicy', 'CookiesIdentityPolicy', 'SessionIdentityPolicy', + 'JWTIdentityPolicy', 'remember', 'forget', 'authorized_userid', 'permits', 'setup', 'is_anonymous', 'login_required', 'has_permission')