-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support to pass additional headers in JWT encoding the token (#276
- Loading branch information
Showing
9 changed files
with
244 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
from .jwt_manager import JWTManager | ||
from .view_decorators import ( | ||
fresh_jwt_required, jwt_optional, jwt_refresh_token_required, jwt_required, | ||
verify_fresh_jwt_in_request, verify_jwt_in_request, | ||
verify_jwt_in_request_optional, verify_jwt_refresh_token_in_request | ||
) | ||
from .utils import ( | ||
create_access_token, create_refresh_token, current_user, decode_token, | ||
get_csrf_token, get_current_user, get_jti, get_jwt_claims, get_jwt_identity, | ||
get_raw_jwt, set_access_cookies, set_refresh_cookies, unset_access_cookies, | ||
unset_jwt_cookies, unset_refresh_cookies | ||
unset_jwt_cookies, unset_refresh_cookies, get_unverified_jwt_headers, | ||
get_raw_jwt_header | ||
) | ||
from .view_decorators import ( | ||
fresh_jwt_required, jwt_optional, jwt_refresh_token_required, jwt_required, | ||
verify_fresh_jwt_in_request, verify_jwt_in_request, | ||
verify_jwt_in_request_optional, verify_jwt_refresh_token_in_request | ||
) | ||
|
||
__version__ = '3.23.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.