code: def token(self):
          
          header = self.default_headers.get('Authorization', '')
          prefex = 'Bearer '
          if header.startswith(prefex):
              token = header[len(prefex):]
          else:
              token = header
          return token
docs: get the token