code: def mk_token(self, clear_load):
          '''
          Create and return an authentication token, the clear load needs to
          contain the eauth key and the needed authentication creds.
          '''
          token = self.loadauth.mk_token(clear_load)
          if not token:
              log.warning('Authentication failure of type "eauth" occurred.')
              return ''
          return tokef mk_token(self, clear_load):
          '''
          Create and return an authentication token, the clear load needs to
          contain the eauth key and the needed authentication creds.
          '''
          token = self.loadauth.mk_token(clear_load)
          if not token:
              log.warning('Authentication failure of type "eauth" occurred.')
              return ''
          return token
docs: Create and return an authentication token, the clear load needs to
          contain the eauth key and the needed authentication creds.