From f0745377da36b7060da86412f3f5b04b5d383877 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 20 Jan 2023 11:49:29 +0300 Subject: auth: rename revocation endpoint --- gn3/auth/authentication/oauth2/endpoints/revocation.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3