Crate mas_config
source ·Expand description
Application configuration logic
Structs§
- Configuration section to configure features related to account management
- Partial configuration actually used by the server
- Configuration section for tweaking the branding of the service
- Configuration section to setup CAPTCHA protection on a few operations
- An OAuth 2.0 client configuration
- List of OAuth 2.0/OIDC clients config
- Database connection configuration
- Configuration related to sending emails
- Configuration sections for experimental options
- Configuration related to the web server
- Configuration of a listener
- Configuration related to TLS on a listener
- Configuration related to the Matrix homeserver
- Configuration related to exporting metrics
- User password hashing config
- Application secrets
- Configuration related to sending emails
- Application configuration root
- Application secrets
- Partial config used by the
mas-cli config sync
command - Configuration related to sending monitoring data
- Configuration related to templates
- Configuration related to exporting traces
- How claims should be imported
- Upstream OAuth 2.0 providers configuration
- What should be done with the email attribute
Enums§
- Which service should be used for CAPTCHA protection
- Authentication method used by clients
- Encryption mode to use
- What backend should be used when sending emails
- Configuration of a single listener
- HTTP resources to mount
- Exporter to use when exporting metrics
- A hashing algorithm
- Options for controlling the level of protection provided for PostgreSQL SSL connections.
- Propagation format for incoming and outgoing requests
- Exporter to use when exporting traces
- Kind of socket
- How to discover the provider’s configuration
- How to handle a claim
- Whether to use proof key for code exchange (PKCE) when requesting and exchanging the token.
- Should the email address be marked as verified
Traits§
- Trait implemented by all configuration section to help loading specific part of the config and generate the sample config.
- Extension trait for
ConfigurationSection
to allow extracting the configuration section from aFigment
or return the default value if the section is not present.