SudoSOS Back-end API / internal / helpers
Internal: Helpers ​
This is the module page of the pos-token-verifier.
Classes ​
| Class | Description |
|---|---|
| POSTokenVerifier | Utility class for verifying POS tokens in lesser authentication scenarios. This class handles the verification logic for ensuring that lesser tokens (PIN/NFC authentication) are properly associated with the correct POS. |
Functions ​
| Function | Description |
|---|---|
| initRedisConnection | Try to connect to Redis. If it is unreachable in non-production environments, resolves to undefined so callers can fall back to direct SMTP sending. In production a missing Redis connection is a hard failure. |