pub struct PatchedFlowRequest {
pub name: Option<String>,
pub slug: Option<String>,
pub title: Option<String>,
pub designation: Option<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
PatchedFlowRequest : Flow Serializer
Fields§
§name: Option<String>
§slug: Option<String>
Visible in the URL.
title: Option<String>
Shown as the Title in Flow pages.
designation: Option<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
authentication: Option<AuthenticationEnum>
Required level of authentication and authorization to access a flow. * none
- None * require_authenticated
- Require Authenticated * require_unauthenticated
- Require Unauthenticated * require_superuser
- Require Superuser * require_outpost
- Require Outpost
Implementations§
Source§impl PatchedFlowRequest
impl PatchedFlowRequest
Sourcepub fn new() -> PatchedFlowRequest
pub fn new() -> PatchedFlowRequest
Flow Serializer
Trait Implementations§
Source§impl Clone for PatchedFlowRequest
impl Clone for PatchedFlowRequest
Source§fn clone(&self) -> PatchedFlowRequest
fn clone(&self) -> PatchedFlowRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more