code: def __init__(self, session_factory):
      self.session_factory = session_factory
      self.session = session_factory()
      self.token_expires_at = 0
  
imports: import threading
  import time
  import jwt
  from bravado.exception import HTTPUnauthorized
  from bravado.requests_client import Authenticator
  from oauthlib.oauth2 import OAuth2Error, TokenExpiredError
  from requests.auth import AuthBase
  from requests_oauthlib import OAuth2Session
  from neptune.common.backends.utils import with_api_exceptions_handler
  from neptune.common.exceptions import NeptuneInvalidApiTokenException
  from neptune.common.utils import update_session_proxies
label_desc: Use image node_id 1 to create a new NeptuneAuth object from inherited base classes: AuthBase with example: obj = NeptuneAuth(session_factory)