StructsΒ§
- Application
Configuration - Azure
Blob Storage Configuration - Azure
Chatbot Configuration - Azure
Configuration - Azure
Search Configuration - OAuth
Server Configuration - Suotar
Configuration
ConstantsΒ§
- FAST_
TRACK_ πEMAIL_ MATCH_ ENABLED_ DEFAULT - Auto-links a student number when Sisuβs address matches a verified account email. Off until that fast track exists; then it is the incident kill switch for it.
- FAST_
TRACK_ πMAX_ EMAIL_ VERIFICATION_ AGE_ DAYS_ DEFAULT - Days an
email_verified_atmay be old and still count as fast-track proof. Bounded because a deprovisioned university address can be reissued to somebody else. - MOCK_
SUOTAR_ TOKEN - The only token the mock Suotar accepts. Public on purpose: never a real credential.
- SUOTAR_
AUTH_ SCHEME - TODO: Suotar has not confirmed whether they want
BasicorBearer;Basicis what they already accept on the legacy study-registry path.
FunctionsΒ§
- bool_
env_ false_ by_ default - Reads a boolean env var where missing values default to false.
- i64_
env_ πor - Reads an integer env var, falling back to
defaultwhen unset, blank or unparseable. - non_
empty_ πenv - Reads an env var, treating a blank value the same as an unset one.