Structs§
- Application
Configuration - Azure
Blob Storage Configuration - Azure
Chatbot Configuration - Azure
Configuration - Azure
Search Configuration - OAuth
Server Configuration - Suotar
Configuration - Where and how to reach Suotar’s moocfi API. In production the base url is
https://opetushallinto.cs.helsinki.fi/suoritustarkistin/api/moocfi/.
Constants§
- ACCOUNT_
LINKING_ 🔒ENABLED_ DEFAULT - Enrolment discovery, the linking mails and their resends. Off where students get their number linked some other way.
- MOCK_
SUOTAR_ TOKEN - The only token the mock Suotar accepts. Public on purpose: never a real credential.
- SUOTAR_
AUTH_ SCHEME - The scheme word Suotar requires before the API key.
Functions§
- bool_
env_ false_ by_ default - Reads a boolean env var where missing values default to false.
- 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.