mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-18 11:29:26 +03:00
ea61e1cf3b
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
51 lines
1.4 KiB
Rust
Generated
51 lines
1.4 KiB
Rust
Generated
// authentik
|
|
//
|
|
// Making authentication simple.
|
|
//
|
|
// The version of the OpenAPI document: 2026.8.0-rc1
|
|
// Contact: hello@goauthentik.io
|
|
// Generated by: https://openapi-generator.tech
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
use crate::models;
|
|
|
|
///
|
|
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
|
|
pub enum FlowDesignationEnum {
|
|
#[serde(rename = "authentication")]
|
|
Authentication,
|
|
#[serde(rename = "authorization")]
|
|
Authorization,
|
|
#[serde(rename = "invalidation")]
|
|
Invalidation,
|
|
#[serde(rename = "enrollment")]
|
|
Enrollment,
|
|
#[serde(rename = "unenrollment")]
|
|
Unenrollment,
|
|
#[serde(rename = "recovery")]
|
|
Recovery,
|
|
#[serde(rename = "stage_configuration")]
|
|
StageConfiguration,
|
|
}
|
|
|
|
impl std::fmt::Display for FlowDesignationEnum {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
|
match self {
|
|
Self::Authentication => write!(f, "authentication"),
|
|
Self::Authorization => write!(f, "authorization"),
|
|
Self::Invalidation => write!(f, "invalidation"),
|
|
Self::Enrollment => write!(f, "enrollment"),
|
|
Self::Unenrollment => write!(f, "unenrollment"),
|
|
Self::Recovery => write!(f, "recovery"),
|
|
Self::StageConfiguration => write!(f, "stage_configuration"),
|
|
}
|
|
}
|
|
}
|
|
|
|
impl Default for FlowDesignationEnum {
|
|
fn default() -> FlowDesignationEnum {
|
|
Self::Authentication
|
|
}
|
|
}
|