mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
ea2bdde5a3
* bump conformance server Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add support for rfc push Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make format and aud optional Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix some endpoints Signed-off-by: Jens Langhammer <jens@goauthentik.io> * force 401 Signed-off-by: Jens Langhammer <jens@goauthentik.io> * implement get and patch for streams Signed-off-by: Jens Langhammer <jens@goauthentik.io> * cleanup Signed-off-by: Jens Langhammer <jens@goauthentik.io> * enable async stream deletion Signed-off-by: Jens Langhammer <jens@goauthentik.io> * allow configuring remote certificate validation Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add verification endpoint Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add support for authorization_header Signed-off-by: Jens Langhammer <jens@goauthentik.io> * set default aud cause spec cant agree with itself Signed-off-by: Jens Langhammer <jens@goauthentik.io> * bump timeout Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix header `typ` Signed-off-by: Jens Langhammer <jens@goauthentik.io> * enabled -> status Signed-off-by: Jens Langhammer <jens@goauthentik.io> * re-migrate Signed-off-by: Jens Langhammer <jens@goauthentik.io> * gen Signed-off-by: Jens Langhammer <jens@goauthentik.io> * more tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * more tests and a fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make streams deletable Signed-off-by: Jens Langhammer <jens@goauthentik.io> * and more logs and fix a silly bug Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add stream status endpoint Signed-off-by: Jens Langhammer <jens@goauthentik.io> * move ssf out of preview Signed-off-by: Jens Langhammer <jens@goauthentik.io> * unrelated typing fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * format Signed-off-by: Jens Langhammer <jens@goauthentik.io> * sigh Signed-off-by: Jens Langhammer <jens@goauthentik.io> * more tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
42 lines
1.7 KiB
Rust
Generated
42 lines
1.7 KiB
Rust
Generated
// authentik
|
|
//
|
|
// Making authentication simple.
|
|
//
|
|
// The version of the OpenAPI document: 2026.5.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 DeliveryMethodEnum {
|
|
#[serde(rename = "https://schemas.openid.net/secevent/risc/delivery-method/push")]
|
|
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashRiscSlashDeliveryMethodSlashPush,
|
|
#[serde(rename = "https://schemas.openid.net/secevent/risc/delivery-method/poll")]
|
|
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashRiscSlashDeliveryMethodSlashPoll,
|
|
#[serde(rename = "urn:ietf:rfc:8935")]
|
|
UrnColonIetfColonRfcColon8935,
|
|
#[serde(rename = "urn:ietf:rfc:8936")]
|
|
UrnColonIetfColonRfcColon8936,
|
|
}
|
|
|
|
impl std::fmt::Display for DeliveryMethodEnum {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
|
match self {
|
|
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashRiscSlashDeliveryMethodSlashPush => write!(f, "https://schemas.openid.net/secevent/risc/delivery-method/push"),
|
|
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashRiscSlashDeliveryMethodSlashPoll => write!(f, "https://schemas.openid.net/secevent/risc/delivery-method/poll"),
|
|
Self::UrnColonIetfColonRfcColon8935 => write!(f, "urn:ietf:rfc:8935"),
|
|
Self::UrnColonIetfColonRfcColon8936 => write!(f, "urn:ietf:rfc:8936"),
|
|
}
|
|
}
|
|
}
|
|
|
|
impl Default for DeliveryMethodEnum {
|
|
fn default() -> DeliveryMethodEnum {
|
|
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashRiscSlashDeliveryMethodSlashPush
|
|
}
|
|
}
|