pub struct FlowRequest {
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>,
pub authentication: Option<AuthenticationEnum>,
}
Expand description
FlowRequest : 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.
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.
authentication: Option<AuthenticationEnum>
Required level of authentication and authorization to access a flow.
Implementations§
Source§impl FlowRequest
impl FlowRequest
Sourcepub fn new(
name: String,
slug: String,
title: String,
designation: FlowDesignationEnum,
) -> FlowRequest
pub fn new( name: String, slug: String, title: String, designation: FlowDesignationEnum, ) -> FlowRequest
Flow Serializer
Trait Implementations§
Source§impl Clone for FlowRequest
impl Clone for FlowRequest
Source§fn clone(&self) -> FlowRequest
fn clone(&self) -> FlowRequest
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 FlowRequest
impl Debug for FlowRequest
Source§impl Default for FlowRequest
impl Default for FlowRequest
Source§fn default() -> FlowRequest
fn default() -> FlowRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlowRequest
impl<'de> Deserialize<'de> for FlowRequest
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 FlowRequest
impl PartialEq for FlowRequest
Source§impl Serialize for FlowRequest
impl Serialize for FlowRequest
impl StructuralPartialEq for FlowRequest
Auto Trait Implementations§
impl Freeze for FlowRequest
impl RefUnwindSafe for FlowRequest
impl Send for FlowRequest
impl Sync for FlowRequest
impl Unpin for FlowRequest
impl UnwindSafe for FlowRequest
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