Session management for Para pre-generated wallets
When using pre-generated wallets, session management works differently as these wallets don’t require traditional authentication.
For pre-generated wallets, the session is considered always active as long as the UserShare
is loaded in the Para client instance. Traditional session expiration doesn’t apply in this scenario.
When a UserShare is loaded via setUserShare()
, the session remains active indefinitely. Methods like isSessionActive()
will return true as long as the UserShare remains loaded in the Para client instance.
isSessionActive()
will always return true for loaded pre-generated wallets