MCPcopy Index your code
hub / github.com/diffgram/diffgram / get_decoded_jwt_token

Method get_decoded_jwt_token

shared/auth/OAuth2Provider.py:103–105  ·  view source on GitHub ↗
(self, id_token: str)

Source from the content-addressed store, hash-verified

101 return False
102
103 def get_decoded_jwt_token(self, id_token: str) -> dict:
104 decoded_token = jwt.decode(id_token, verify=False, algorithms='RS256', options={"verify_signature": False})
105 return decoded_token
106
107 @abc.abstractmethod
108 def get_access_token_from_jwt(self, jwt_data: dict):

Callers 2

id_token_has_expiredMethod · 0.95
get_user_from_oauth2Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected