code: function UnloqApi(authObj) {
      if(typeof authObj !== 'object' || authObj === null) {
        throw new Error('Unloq.Api: First constructor argument must be an instance of unloq.Auth');
      }
      // If we receive only the object with configuration, we try and create the auth object.
      if(authObj.__type !== 'auth') {
        var AuthClass = Auth();
        authObj = new AuthClass(authObj);
      }
      auth = authObj;
    }
docs: this is an unloq.Auth instance.