Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.quepass.com/llms.txt

Use this file to discover all available pages before exploring further.

1. Session Handling

Use Quepass.restoreSession() to check whether the current session has expired. If the session is timed out, re-initialize the SDK before making additional requests.

Required Parameters

  • Empty

Return Parameters

  • restored (boolean) – Indicates if the session was successfully restored

Code Example

const restoreResponse = await Quepass.restoreSession();
if (restoreResponse && restoreResponse.restored) {
  // Re-initialize SDK if needed
}

2. Close SDK

Call Quepass.clearSession() to properly terminate the SDK process when required.

Required Parameters

  • Empty

Return Parameters

  • Empty

Code Example

await Quepass.clearSession();