Guide to managing authentication sessions in Para for Flutter applications
2 hours
by default, but can be configured to up to 30 days. To configure this parameter, please visit the Configuration section of the . A user signing a message or transaction extends the session by the duration of the session length.
isSessionActive()
to verify whether a user’s session is currently valid before performing authenticated operations.
logout()
before reinitiating authentication when a session has expired to ensure all stored data is properly cleared.exportSession()
when you need to transfer session state to your server for performing operations on behalf of the user.