Unifile Common Tools - silexlabs/unifile-common-tools GitHub Wiki

Welcome to the unifile-common-tools wiki!

API

All the function are static.

Tools.mergeInfos(newInfos, defaults)

Fills newInfos object with the provided defaults.

Tools.simpleBatch(connector, session, actions)

Provides a simple implementation of Unifile batch.

Tools.clearSession(session)

Deletes all session infos in the provided object. Modifies session in place.

Tools.parseBasicAuth(auth)

Parses the auth parameter as a String or an auth Object to extract Credentials