class_docstr: Authentication provider for a specific kind of credential.
docstr: Produce an opaque auth token from a WSGI request environment.
  
  Args:
    environ: A WSGI environment `dict`; see PEP 3333.
  
  Returns:
    A Python object representing an auth token. The representation
    and semantics depend on the particular `AuthProvider`
    implementation.
  
  Raises:
    Exception: Any error, usually `tensorboard.errors.PublicError`
      subclasses (like `PermissionDenied`) but also possibly a
      custom error type that should propagate to a WSGI middleware
      for effecting a redirect-driven auth flow.
docstr_tok: ["Produce","an","opaque","auth","token","from","a","WSGI","request","environment",".","Args",":","environ",":","A","WSGI","environment","`","dict","`",";","see","PEP","3333",".","Returns",":","A","Python","object","representing","an","auth","token",".","The","representation","and","semantics","depend","on","the","particular","`","AuthProvider","`","implementation",".","Raises",":","Exception",":","Any","error",",","usually","`","tensorboard.errors.PublicError","`","subclasses","(","like","`","PermissionDenied","`",")","but","also","possibly","a","custom","error","type","that","should","propagate","to","a","WSGI","middleware","for","effecting","a","redirect-driven","auth","flow","."]
code: def authenticate(self, environ):
      """Produce an opaque auth token from a WSGI request environment.
  
      Args:
        environ: A WSGI environment `dict`; see PEP 3333.
  
      Returns:
        A Python object representing an auth token. The representation
        and semantics depend on the particular `AuthProvider`
        implementation.
  
      Raises:
        Exception: Any error, usually `tensorboard.errors.PublicError`
          subclasses (like `PermissionDenied`) but also possibly a
          custom error type that should propagate to a WSGI middleware
          for effecting a redirect-driven auth flow.
      """
      pass
  
imports: import abc
label_desc: Use image node_id 1 for calling the AuthProvider obj's underlying member method code with example usage: obj.authenticate(environ) without return types