code: def _convert_token(self, token):
          
          # Beware that ADAL returns a pointer to its own dict, do
          # NOT change it in place
          token = token.copy()
  
          # If it's from ADAL, expiresOn will be in ISO form.
          # Bring it back to float, using expiresIn
          if "expiresOn" in token and "expiresIn" in token:
              token["expiresOn"] = token['expiresIn'] + time.time()
          return {self._case.sub(r'\1_\2', k).lower(): v
                  for k, v in token.items()}
docs: Convert token fields from camel case.
  
          :param dict token: An authentication token.
          :rtype: dict