fusionauth_rust_client/models/
tenant_web_authn_configuration.rs

1/*
2 * FusionAuth API
3 *
4 * This is a FusionAuth server. Find out more at [https://fusionauth.io](https://fusionauth.io). You need to [set up an API key](https://fusionauth.io/docs/v1/tech/apis/authentication#managing-api-keys) in the FusionAuth instance you are using to test out the API calls.
5 *
6 * The version of the OpenAPI document: 1.60.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// TenantWebAuthnConfiguration : Tenant-level configuration for WebAuthn
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TenantWebAuthnConfiguration {
17    #[serde(rename = "bootstrapWorkflow", skip_serializing_if = "Option::is_none")]
18    pub bootstrap_workflow: Option<Box<models::TenantWebAuthnWorkflowConfiguration>>,
19    #[serde(rename = "debug", skip_serializing_if = "Option::is_none")]
20    pub debug: Option<bool>,
21    #[serde(rename = "reauthenticationWorkflow", skip_serializing_if = "Option::is_none")]
22    pub reauthentication_workflow: Option<Box<models::TenantWebAuthnWorkflowConfiguration>>,
23    #[serde(rename = "relyingPartyId", skip_serializing_if = "Option::is_none")]
24    pub relying_party_id: Option<String>,
25    #[serde(rename = "relyingPartyName", skip_serializing_if = "Option::is_none")]
26    pub relying_party_name: Option<String>,
27    #[serde(rename = "enabled", skip_serializing_if = "Option::is_none")]
28    pub enabled: Option<bool>,
29}
30
31impl TenantWebAuthnConfiguration {
32    /// Tenant-level configuration for WebAuthn
33    pub fn new() -> TenantWebAuthnConfiguration {
34        TenantWebAuthnConfiguration {
35            bootstrap_workflow: None,
36            debug: None,
37            reauthentication_workflow: None,
38            relying_party_id: None,
39            relying_party_name: None,
40            enabled: None,
41        }
42    }
43}
44