type TokenCallback = () => Promise<string>

A callback function invoked to establish a new xkit.js user session.

The callback is used with the login function and when the user session expires. The function should return a valid Xkit User Token on each call.