Browse Source

Mark as staticmethod

pull/616/head
Cristian Betivu 5 months ago
parent
commit
810141c348
  1. 3
      src/keycloak/keycloak_openid.py

3
src/keycloak/keycloak_openid.py

@ -581,7 +581,8 @@ class KeycloakOpenID:
) )
return raise_error_from_response(data_raw, KeycloakPostError) return raise_error_from_response(data_raw, KeycloakPostError)
def _verify_token(self, token, key, **kwargs):
@staticmethod
def _verify_token(token, key, **kwargs):
# keep the function free of IO # keep the function free of IO
# this way it can be used by `decode_token` and `a_decode_token` # this way it can be used by `decode_token` and `a_decode_token`
if key is not None: if key is not None:

Loading…
Cancel
Save