mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 02:47:45 +08:00
feat: configure auth channel mismatch formats
This commit is contained in:
@@ -14,6 +14,8 @@ pub(crate) struct AdminProviderKeyCreateRequest {
|
||||
#[serde(default)]
|
||||
pub(crate) auth_type_by_format: Option<serde_json::Value>,
|
||||
#[serde(default)]
|
||||
pub(crate) allow_auth_channel_mismatch_formats: Option<Option<Vec<String>>>,
|
||||
#[serde(default)]
|
||||
pub(crate) auth_config: Option<serde_json::Value>,
|
||||
pub(crate) name: String,
|
||||
#[serde(default)]
|
||||
@@ -53,6 +55,8 @@ pub(crate) struct AdminProviderKeyUpdateRequest {
|
||||
#[serde(default)]
|
||||
pub(crate) auth_type_by_format: Option<serde_json::Value>,
|
||||
#[serde(default)]
|
||||
pub(crate) allow_auth_channel_mismatch_formats: Option<Vec<String>>,
|
||||
#[serde(default)]
|
||||
pub(crate) auth_config: Option<serde_json::Value>,
|
||||
#[serde(default)]
|
||||
pub(crate) name: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user