Skip to content

SudoSOS Back-end API / internal / helpers

Internal: Helpers ​

This is the module page of the pos-token-verifier.

Classes ​

ClassDescription
POSTokenVerifierUtility 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 ​

FunctionDescription
initRedisConnectionTry 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.