pub struct FlowSetRequest {
pub name: String,
pub slug: String,
pub title: String,
pub designation: FlowDesignationEnum,
pub policy_engine_mode: Option<PolicyEngineMode>,
pub compatibility_mode: Option<bool>,
pub layout: Option<FlowLayoutEnum>,
pub denied_action: Option<DeniedActionEnum>,
}
Expand description
FlowSetRequest : Stripped down flow serializer
Fields§
§name: String
§slug: String
Visible in the URL.
title: String
Shown as the Title in Flow pages.
designation: FlowDesignationEnum
Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik. * authentication
- Authentication * authorization
- Authorization * invalidation
- Invalidation * enrollment
- Enrollment * unenrollment
- Unrenollment * recovery
- Recovery * stage_configuration
- Stage Configuration
policy_engine_mode: Option<PolicyEngineMode>
§compatibility_mode: Option<bool>
Enable compatibility mode, increases compatibility with password managers on mobile devices.
layout: Option<FlowLayoutEnum>
§denied_action: Option<DeniedActionEnum>
Configure what should happen when a flow denies access to a user. * message_continue
- Message Continue * message
- Message * continue
- Continue
Implementations§
Source§impl FlowSetRequest
impl FlowSetRequest
Sourcepub fn new(
name: String,
slug: String,
title: String,
designation: FlowDesignationEnum,
) -> FlowSetRequest
pub fn new( name: String, slug: String, title: String, designation: FlowDesignationEnum, ) -> FlowSetRequest
Stripped down flow serializer
Trait Implementations§
Source§impl Clone for FlowSetRequest
impl Clone for FlowSetRequest
Source§fn clone(&self) -> FlowSetRequest
fn clone(&self) -> FlowSetRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FlowSetRequest
impl Debug for FlowSetRequest
Source§impl Default for FlowSetRequest
impl Default for FlowSetRequest
Source§fn default() -> FlowSetRequest
fn default() -> FlowSetRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlowSetRequest
impl<'de> Deserialize<'de> for FlowSetRequest
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
Source§impl PartialEq for FlowSetRequest
impl PartialEq for FlowSetRequest
Source§impl Serialize for FlowSetRequest
impl Serialize for FlowSetRequest
impl StructuralPartialEq for FlowSetRequest
Auto Trait Implementations§
impl Freeze for FlowSetRequest
impl RefUnwindSafe for FlowSetRequest
impl Send for FlowSetRequest
impl Sync for FlowSetRequest
impl Unpin for FlowSetRequest
impl UnwindSafe for FlowSetRequest
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