class_docstr: Configuration of SPNEGO authentication to back-end H2O.
code: def __init__(
      self, service_principal, mech_oid=kerberos.GSS_MECH_OID_SPNEGO
  ):
      assert_is_type(service_principal, str)
  
      self._header_regex = re.compile(
          r"(^|,\s*)Negotiate($|[,\s]+)", re.I
      )
  
      self._service_principal = service_principal
      self._mech_oid = mech_oid
  
file_path: h2o-3/h2o-py/h2o/auth.py
imports: import re
  from requests.auth import AuthBase
  from h2o.utils.typechecks import assert_is_type
label_desc: Use image node_id 1 to create a new SpnegoAuth object from inherited base classes: AuthBase with example: obj = SpnegoAuth(service_principal, mech_oid)