aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-01-20 11:49:29 +0300
committerFrederick Muriuki Muriithi2023-01-20 11:49:29 +0300
commitf0745377da36b7060da86412f3f5b04b5d383877 (patch)
treef50fd33a7280e3550def5ccfb5d8c1b73eef2961 /gn3
parent810bbe7bbbdefe4b558f8d870656bee2f32add70 (diff)
downloadgenenetwork3-f0745377da36b7060da86412f3f5b04b5d383877.tar.gz
auth: rename revocation endpoint
Diffstat (limited to 'gn3')
-rw-r--r--gn3/auth/authentication/oauth2/endpoints/revocation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/auth/authentication/oauth2/endpoints/revocation.py b/gn3/auth/authentication/oauth2/endpoints/revocation.py
index 0693c2d..b8517b6 100644
--- a/gn3/auth/authentication/oauth2/endpoints/revocation.py
+++ b/gn3/auth/authentication/oauth2/endpoints/revocation.py
@@ -11,6 +11,7 @@ from .utilities import query_token as _query_token
class RevocationEndpoint(_RevocationEndpoint):
"""Revoke the tokens"""
+ ENDPOINT_NAME = "revoke"
def query_token(self, token_string: str, token_type_hint: str):
"""Query the token."""
return _query_token(self, token_string, token_type_hint)