class_docstr: BoxApp integration
class_docstr_tok: ["BoxApp","integration"]
docstr: Load JWTAuth from Box service account JSON keyfile
  
  Args:
      auth_data (dict): The loaded keyfile data from a Box service account
          JSON file
  Returns:
      boxsdk.JWTAuth Instance of JWTAuth that allows the client to authenticate
          or False if there was an issue loading the auth
docstr_tok: ["Load","JWTAuth","from","Box","service","account","JSON","keyfile","Args",":","auth_data","(","dict",")",":","The","loaded","keyfile","data","from","a","Box","service","account","JSON","file","Returns",":","boxsdk.JWTAuth","Instance","of","JWTAuth","that","allows","the","client","to","authenticate","or","False","if","there","was","an","issue","loading","the","auth"]
code: def _load_auth(cls, auth_data):
      """Load JWTAuth from Box service account JSON keyfile
  
      Args:
          auth_data (dict): The loaded keyfile data from a Box service account
              JSON file
      Returns:
          boxsdk.JWTAuth Instance of JWTAuth that allows the client to authenticate
              or False if there was an issue loading the auth
      """
      try:
          auth = JWTAuth.from_settings_dictionary(auth_data)
      except (TypeError, ValueError, KeyError):
          LOGGER.exception(
              "Could not load JWT from settings dictionary"
          )
          return False
  
      return auth
  
file_path: streamalert/streamalert/apps/_apps/box.py
imports: import json
  from boxsdk import Client, JWTAuth
  from boxsdk.exception import BoxException
  from boxsdk.object.events import EnterpriseEventsStreamType
  import requests
  from .None import AppIntegration, StreamAlertApp, get_logger, safe_timeout
label_desc: Use image node_id 5 for calling the BoxApp obj's underlying member method code with example usage: obj._load_auth(cls, auth_data) and returns: auth, False