v3.2.0
What's new
Adds support for push credential expiry and keep-alive. When a credential lifetime is configured for your tenant, enrolled push credentials expire unless the app keeps them alive.
-
updateCredentialnow accepts an options object with aresetExpiryflag:// Rotate the push token (existing behaviour, unchanged) await authsignal.push.updateCredential({ pushToken }); // Keep-alive: reset the credential's expiry lease without changing the token await authsignal.push.updateCredential({ resetExpiry: true });