Global

Methods

addSessionExpiredHandler(callback)

When your session expires on any particular call, this callback will get triggered.

Parameters:
Name Type Description
callback function

A function() {} that gets called back if the session is no longer valid.

Source: