TheDocumentation Index
Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
getSessionStatus function checks the current status of a session key from the validator contract, allowing you to determine if a session is active, expired, closed, or not initialized.
Usage
Parameters
Either the hash of the session configuration or the session configuration
object itself.
Returns
The current status of the session:
SessionStatus.NotInitialized(0): The session has not been createdSessionStatus.Active(1): The session is active and can be usedSessionStatus.Closed(2): The session has been revokedSessionStatus.Expired(3): The session has expired