Expand description
Application configuration logic
Structs§
- AccountConfig 
- Configuration section to configure features related to account management
- AppConfig
- Partial configuration actually used by the server
- BrandingConfig 
- Configuration section for tweaking the branding of the service
- CaptchaConfig 
- Configuration section to setup CAPTCHA protection on a few operations
- ClientConfig 
- An OAuth 2.0 client configuration
- ClientsConfig 
- List of OAuth 2.0/OIDC clients config
- DatabaseConfig 
- Database connection configuration
- EmailConfig 
- Configuration related to sending emails
- ExperimentalConfig 
- Configuration sections for experimental options
- HttpConfig 
- Configuration related to the web server
- HttpListener Config 
- Configuration of a listener
- HttpTlsConfig 
- Configuration related to TLS on a listener
- MatrixConfig 
- Configuration related to the Matrix homeserver
- MetricsConfig 
- Configuration related to exporting metrics
- PasswordHashing Scheme 
- Parameters for a password hashing scheme
- PasswordsConfig 
- User password hashing config
- PolicyConfig 
- Application secrets
- RateLimiting Config 
- Configuration related to sending emails
- RootConfig 
- Application configuration root
- SecretsConfig 
- Application secrets
- SyncConfig 
- Partial config used by the mas-cli config synccommand
- TelemetryConfig 
- Configuration related to sending monitoring data
- TemplatesConfig 
- Configuration related to templates
- TracingConfig 
- Configuration related to exporting traces
- UpstreamOAuth2 Claims Imports 
- How claims should be imported
- UpstreamOAuth2 Config 
- Upstream OAuth 2.0 providers configuration
- UpstreamOAuth2 Email Import Preference 
- What should be done with the email attribute
- UpstreamOAuth2 Provider 
- Configuration for one upstream OAuth 2 provider.
Enums§
- CaptchaService Kind 
- Which service should be used for CAPTCHA protection
- ClientAuth Method Config 
- Authentication method used by clients
- EmailSmtp Mode 
- Encryption mode to use
- EmailTransport Kind 
- What backend should be used when sending emails
- HomeserverKind 
- The kind of homeserver it is.
- HttpBind Config 
- Configuration of a single listener
- HttpResource 
- HTTP resources to mount
- MetricsExporter Kind 
- Exporter to use when exporting metrics
- PasswordAlgorithm 
- A hashing algorithm
- PgSslMode 
- Options for controlling the level of protection provided for PostgreSQL SSL connections.
- Propagator
- Propagation format for incoming and outgoing requests
- TracingExporter Kind 
- Exporter to use when exporting traces
- UnixOrTcp 
- Kind of socket
- UpstreamOAuth2 Discovery Mode 
- How to discover the provider’s configuration
- UpstreamOAuth2 Import Action 
- How to handle a claim
- UpstreamOAuth2 Pkce Method 
- Whether to use proof key for code exchange (PKCE) when requesting and exchanging the token.
- UpstreamOAuth2 Response Mode 
- The response mode we ask the provider to use for the callback
- UpstreamOAuth2 Token Auth Method 
- Authentication methods used against the OAuth 2.0 provider
Traits§
- ConfigurationSection 
- Trait implemented by all configuration section to help loading specific part of the config and generate the sample config.
- ConfigurationSection Ext 
- Extension trait for ConfigurationSectionto allow extracting the configuration section from aFigmentor return the default value if the section is not present.