aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-29 14:56:15 -0500
committerFrederick Muriuki Muriithi2024-07-31 09:30:28 -0500
commit50ee89f1d3b6daafa4a21d6640afd41a0e41aab1 (patch)
tree881bff5dae3af6f1df5fe5ad4383817908e9b364 /gn_auth/auth/authentication/oauth2/endpoints/revocation.py
parent5338f5cae369a34e9a391de58cc73247adf15373 (diff)
downloadgn-auth-50ee89f1d3b6daafa4a21d6640afd41a0e41aab1.tar.gz
Update all endpoints to use the `client_secret_post` auth method.
Diffstat (limited to 'gn_auth/auth/authentication/oauth2/endpoints/revocation.py')
-rw-r--r--gn_auth/auth/authentication/oauth2/endpoints/revocation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn_auth/auth/authentication/oauth2/endpoints/revocation.py b/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
index 240ca30..80922f1 100644
--- a/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
+++ b/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
@@ -12,6 +12,7 @@ from .utilities import query_token as _query_token
class RevocationEndpoint(_RevocationEndpoint):
"""Revoke the tokens"""
ENDPOINT_NAME = "revoke"
+ CLIENT_AUTH_METHODS = ['client_secret_post']
def query_token(self, token_string: str, token_type_hint: str):
"""Query the token."""
return _query_token(self, token_string, token_type_hint)