Skip to content

Unifile Common Tools

Jean-Baptiste Richardet edited this page Oct 19, 2017 · 1 revision

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