class_docstr: This class contains various settings of the API client.
  
      :param host: Base url.
      :param api_key: Dict to store API key(s).
        Each entry in the dict specifies an API key.
        The dict key is the name of the security scheme in the OAS specification.
        The dict value is the API key secret.
      :param api_key_prefix: Dict to store API prefix (e.g. Bearer).
        The dict key is the name of the security scheme in the OAS specification.
        The dict value is an API key prefix when generating the auth data.
      :param username: Username for HTTP basic authentication.
      :param password: Password for HTTP basic authentication.
      :param access_token: Access token.
      :param server_index: Index to servers configuration.
      :param server_variables: Mapping with string values to replace variables in
        templated server configuration. The validation of enums is performed for
        variables with defined enum values before.
      :param server_operation_index: Mapping from operation ID to an index to server
        configuration.
      :param server_operation_variables: Mapping from operation ID to a mapping with
        string values to replace variables in templated server configuration.
        The validation of enums is performed for variables with defined enum values before.
      :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
        in PEM format.
  
      :Example:
  
      API Key Authentication Example.
      Given the following security scheme in the OpenAPI specification:
        components:
          securitySchemes:
            cookieAuth:         # name for the security scheme
              type: apiKey
              in: cookie
              name: JSESSIONID  # cookie name
  
      You can programmatically set the cookie:
  
  conf = lightly.openapi_generated.swagger_client.Configuration(
      api_key={'cookieAuth': 'abc123'}
      api_key_prefix={'cookieAuth': 'JSESSIONID'}
  )
  
      The following cookie will be added to the HTTP request:
         Cookie: JSESSIONID abc123
      
docstr: Gets API key (with prefix if set).
  
  :param identifier: The identifier of apiKey.
  :param alias: The alternative identifier of apiKey.
  :return: The token for api key authentication.
docstr_tok: ["Gets","API","key","(","with","prefix","if","set",")",".",":","param","identifier",":","The","identifier","of","apiKey",".",":","param","alias",":","The","alternative","identifier","of","apiKey",".",":","return",":","The","token","for","api","key","authentication","."]
code: def get_api_key_with_prefix(self, identifier, alias=None):
      """Gets API key (with prefix if set).
  
      :param identifier: The identifier of apiKey.
      :param alias: The alternative identifier of apiKey.
      :return: The token for api key authentication.
      """
      if self.refresh_api_key_hook is not None:
          self.refresh_api_key_hook(self)
      key = self.api_key.get(
          identifier,
          self.api_key.get(alias) if alias is not None else None,
      )
      if key:
          prefix = self.api_key_prefix.get(identifier)
          if prefix:
              return "%s %s" % (prefix, key)
          else:
              return key
  
imports: import copy
  import logging
  import multiprocessing
  import sys
  import urllib3
  import http.client
  from lightly.openapi_generated.swagger_client.exceptions import ApiValueError
label_desc: Use image node_id 13 for calling the Configuration obj's underlying member method code with example usage: obj.get_api_key_with_prefix(identifier, alias) and returns: unknown, key