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. The same flag is the kill switch that stops it during an incident.
- 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.
- parse_
join_ ๐base - Parses a
Url::joinbase, adding the trailing slash one needs: joining onto a base without it replaces the baseโs last path segment instead of extending it.