code: def get_token_info(self):
          
          response = requests.get(
              self._format_url(OAUTH2_ROOT + 'token_info', {
                  'token': self.creds['access_token']
              }))
          data = response.json()
          if response.status_code != 200:
              raise _token_error_from_data(data)
          else:
              return data
docs: Get information about the current access token.