pub struct RadiusProviderRequest {
pub name: String,
pub authentication_flow: Option<Option<Uuid>>,
pub authorization_flow: Uuid,
pub invalidation_flow: Uuid,
pub property_mappings: Option<Vec<Uuid>>,
pub client_networks: Option<String>,
pub shared_secret: Option<String>,
pub mfa_support: Option<bool>,
pub certificate: Option<Option<Uuid>>,
}Expand description
RadiusProviderRequest : RadiusProvider Serializer
Fields§
§name: String§authentication_flow: Option<Option<Uuid>>Flow used for authentication when the associated application is accessed by an un-authenticated user.
Flow used when authorizing this provider.
invalidation_flow: UuidFlow used ending the session from a provider.
property_mappings: Option<Vec<Uuid>>§client_networks: Option<String>List of CIDRs (comma-separated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
Shared secret between clients and server to hash packets.
mfa_support: Option<bool>When enabled, code-based multi-factor authentication can be used by appending a semicolon and the TOTP code to the password. This should only be enabled if all users that will bind to this provider have a TOTP device configured, as otherwise a password may incorrectly be rejected if it contains a semicolon.
certificate: Option<Option<Uuid>>Implementations§
Trait Implementations§
Source§impl Clone for RadiusProviderRequest
impl Clone for RadiusProviderRequest
Source§fn clone(&self) -> RadiusProviderRequest
fn clone(&self) -> RadiusProviderRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RadiusProviderRequest
impl Debug for RadiusProviderRequest
Source§impl Default for RadiusProviderRequest
impl Default for RadiusProviderRequest
Source§fn default() -> RadiusProviderRequest
fn default() -> RadiusProviderRequest
Source§impl<'de> Deserialize<'de> for RadiusProviderRequest
impl<'de> Deserialize<'de> for RadiusProviderRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for RadiusProviderRequest
impl PartialEq for RadiusProviderRequest
Source§fn eq(&self, other: &RadiusProviderRequest) -> bool
fn eq(&self, other: &RadiusProviderRequest) -> bool
self and other values to be equal, and is used by ==.