When a session expires, which depends on the MediaSpace Kmsapi module configuration for the mobileSessionLifeTime.
Check it out here.