The re_authenticated message is sent by myzPAX to inform the iframe that the user has successfully re-authenticated (e.g., after a lock or timeout).
Message Type
type messageType = 're_authenticated';Payload
None
When It Is Sent
- After the user completes a re-authentication flow triggered by the iframe or session manager.
Example
addZpaxMessageListener('re_authenticated', () => {
// Resume application activity
resumeUserSession();
});Use Cases
- Resume paused workflows after a lock.
- Re-fetch secured data.
- Inform user that session has resumed.
Related
sendZpaxMessage('lock_app')addZpaxMessageListener— Function used to subscribe to incoming messages.