code: def extract_jwt_token(self, token):
          
          # Note: we disable exp verification because we will do it ourselves
          with InvalidTokenHeader.handle_errors('failed to decode JWT token'):
              data = jwt.decode(
                  token,
                  self.encode_key,
                  algorithms=self.allowed_algorithms,
                  options={'verify_exp': False},
              )
          self._validate_jwt_data(data, access_type=AccessType.access)
          return data
docs: Extracts a data dictionary from a jwt token