atoti.config.authentication.basic_authentication_config module¶
- class atoti.BasicAuthenticationConfig¶
The basic authentication configuration.
It is the easiest way to set up security since it only requires defining the users, their password, and their roles using
BasicSecurity
.See also
- realm: Optional[str] = None¶
The realm describing the protected area.
Different realms can be used to isolate sessions running on the same domain (regardless of the port). The realm will also be displayed by the browser when prompting for credentials. Defaults to some machine-wide unique ID.
Example
>>> basic_auth_config = tt.BasicAuthenticationConfig(realm="Example")