pub struct Settings {
pub avatars: Option<String>,
pub default_user_change_name: Option<bool>,
pub default_user_change_email: Option<bool>,
pub default_user_change_username: Option<bool>,
pub event_retention: Option<String>,
pub footer_links: Option<Option<Value>>,
pub gdpr_compliance: Option<bool>,
pub impersonation: Option<bool>,
}
Expand description
Settings : Settings Serializer
Fields§
§avatars: Option<String>
Configure how authentik should show avatars for users.
default_user_change_name: Option<bool>
Enable the ability for users to change their name.
default_user_change_email: Option<bool>
Enable the ability for users to change their email address.
default_user_change_username: Option<bool>
Enable the ability for users to change their username.
event_retention: Option<String>
Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
The option configures the footer links on the flow executor pages.
gdpr_compliance: Option<bool>
When enabled, all the events caused by a user will be deleted upon the user’s deletion.
impersonation: Option<bool>
Globally enable/disable impersonation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more