EdfaPay Logo

Session Management

Manage user sessions, handle multiple terminals, and implement secure logout functionality.

Overview

The SDK supports multiple concurrent sessions, enabling scenarios like multi-terminal management, session switching, and secure logout.

Current Session

Access information about the currently active session:

Loading...

Session List

Retrieve all stored sessions for multi-terminal scenarios:

Loading...

Logout

Securely logout and clear stored credentials:

Loading...

Security Note

Always logout when the user ends their session. This clears sensitive credentials from device storage and prevents unauthorized access.

Multi-Terminal Scenarios

Example implementation for managing multiple terminal sessions:

Loading...

Use Cases

  • Fleet Management: Manage multiple terminals from a single device
  • Multi-Merchant: Switch between different merchant accounts
  • Shift Handover: Quick user switching for shift changes

SessionDetail Model

PropertyTypeDescription
sessionIdString?Unique session identifier
emailString?Associated email address
tsnString?Terminal Serial Number
terminalIdString?Associated terminal
merchantIdString?Associated merchant