code: def tokeninfo(self, jwt):
  
          
          warnings.warn("/tokeninfo will be deprecated in future releases", DeprecationWarning)
          return self.post(
              url='https://{}/tokeninfo'.format(self.domain),
              data={'id_token': jwt},
              headers={'Content-Type': 'application/json'}
          )
docs: Returns user profile based on the user's jwt
  
          Validates a JSON Web Token (signature and expiration) and returns the
          user information associated with the user id (sub property) of
          the token.
  
          Args:
              jwt (str): User's jwt
  
          Returns:
              The user profile.