Managing the lifecycle of authentication sessions in Para
isSessionActive()
to verify whether a user’s session is currently valid before performing authenticated operations.
Example usage:
keepSessionAlive()
to extend an active session’s validity without requiring full reauthentication.
Example usage:
ParaProvider
component, you can leverage automatic session management:
keepSessionAlive()
periodically. You can disable this behavior by setting the disableAutoSessionKeepAlive
prop to true
if you prefer to manage sessions manually.refreshSession()
method when a session has expired.
refreshSession()
when sessions expire. The refresh flow is being improved in upcoming releases.keepSessionAlive()
or leverage the ParaProvider
automatic session management