Releases: hzlmn/aiohttp-jwt
v0.6.1
v0.6.0
v0.5.0
v0.4.0
v0.3.0
-
Added
auth_scheme
option to middleware, that allows customization of authorization header prefix. By default value isBearer
. #77 Thanks @gbarbaten -
Added explicit exception when decorators are used without proper middleware initialization & minor cleaning #85
v0.2.0
v0.1.1
v0.1.0
-
Added support for checking revoked tokens
Now users can pass
is_revoked
callback that should return bool value that indicates token status and in case of True, middleware will raise HTTPForbidden withToken is revoked
message. -
Better description for token decoding error.
-
Added more usage examples. Thanks @vikitikitavi
v0.0.2
Initial release
-
Introduced check_permissions decorator for providing scope based permission model for your application handlers.
Permissions should be described as an array of strings inside the JWT token, or as a space-delimited OAuth 2.0 Access Token Scope string.
-
Introduced JWT middleware for encoding/verifying your JWT token and setting property on aiohttp.Request object.