authentik-client 2026.2.2-rc2

Making authentication simple.
Documentation
/*
 * authentik
 *
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-rc2
 * Contact: hello@goauthentik.io
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum SamlLogoutMethods {
    #[serde(rename = "frontchannel_iframe")]
    FrontchannelIframe,
    #[serde(rename = "frontchannel_native")]
    FrontchannelNative,
    #[serde(rename = "backchannel")]
    Backchannel,
}

impl std::fmt::Display for SamlLogoutMethods {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::FrontchannelIframe => write!(f, "frontchannel_iframe"),
            Self::FrontchannelNative => write!(f, "frontchannel_native"),
            Self::Backchannel => write!(f, "backchannel"),
        }
    }
}

impl Default for SamlLogoutMethods {
    fn default() -> SamlLogoutMethods {
        Self::FrontchannelIframe
    }
}