diff options
author | Munyoki Kilyungi | 2024-04-30 13:01:49 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-04-30 13:07:29 +0300 |
commit | 8b11c16d1a7462089de00dc8759e7bb1d253ed08 (patch) | |
tree | 5839037645fa7f8d483b9c41f0c659cb40f2e7c5 /gn_auth/auth/authentication/__init__.py | |
parent | 0f8adc98579820c3899c9f3fdd883a0c018c6022 (diff) | |
download | gn-auth-8b11c16d1a7462089de00dc8759e7bb1d253ed08.tar.gz |
Create a JWT token when querying a user's role an a resource.
* gn_auth/auth/authorisation/resources/views.py: Import time.
(get_user_roles_on_resource): Add a JWT bearer token to the
responses's header.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn_auth/auth/authentication/__init__.py')
0 files changed, 0 insertions, 0 deletions