Expand description
Durable email-verification proofs and UIAA ownership claims.
Pending rows bind a client secret, token, address, expiry, and use state to a deterministic session identifier. Keyed in-memory locks serialize local updates while database transactions keep claim indexes aligned with proof state.
Structsยง
- Pending ๐
- Stored state for a pending third-party identifier validation.
- Pending
Outcome - Outcome of creating or reusing a pending verification session.
Enumsยง
- Pending
Use ๐ - Single-use state of a validated pending session.
Constantsยง
- MAX_
VERIFY_ ๐ATTEMPTS - Failed-validation ceiling: the session self-destructs once this many wrong submissions have been counted, so the Nth burns and N-1 are tolerated. Caps token brute-force (mirrors the device-grant ceiling).
- TOKEN_
LENGTH ๐ - Characters minted for the single-use, server-private validation token.
- UIAA_
SESSION_ ๐TTL - Persistence lifetime shared by UIAA sessions and their threepid claims.
Functionsยง
- ct_eq ๐
- derive_
sid ๐ - Deterministic session id binding the request identity to one storage key.
- expired ๐
Type Aliasesยง
- Claim
Sid ๐