pub struct RadiusProvider {Show 17 fields
pub pk: i32,
pub name: String,
pub authentication_flow: Option<Option<Uuid>>,
pub authorization_flow: Uuid,
pub property_mappings: Option<Vec<Uuid>>,
pub component: String,
pub assigned_application_slug: String,
pub assigned_application_name: String,
pub assigned_backchannel_application_slug: String,
pub assigned_backchannel_application_name: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub client_networks: Option<String>,
pub shared_secret: Option<String>,
pub outpost_set: Vec<String>,
pub mfa_support: Option<bool>,
}
Expand description
RadiusProvider : RadiusProvider Serializer
Fields§
§pk: i32
§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.
property_mappings: Option<Vec<Uuid>>
§component: String
Get object component so that we know how to edit the object
assigned_application_slug: String
Internal application name, used in URLs.
assigned_application_name: String
Application’s display Name.
assigned_backchannel_application_slug: String
Internal application name, used in URLs.
assigned_backchannel_application_name: String
Application’s display Name.
verbose_name: String
Return object’s verbose_name
verbose_name_plural: String
Return object’s plural verbose_name
meta_model_name: String
Return internal model name
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.
outpost_set: Vec<String>
§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.
Implementations§
Source§impl RadiusProvider
impl RadiusProvider
Sourcepub fn new(
pk: i32,
name: String,
authorization_flow: Uuid,
component: String,
assigned_application_slug: String,
assigned_application_name: String,
assigned_backchannel_application_slug: String,
assigned_backchannel_application_name: String,
verbose_name: String,
verbose_name_plural: String,
meta_model_name: String,
outpost_set: Vec<String>,
) -> RadiusProvider
pub fn new( pk: i32, name: String, authorization_flow: Uuid, component: String, assigned_application_slug: String, assigned_application_name: String, assigned_backchannel_application_slug: String, assigned_backchannel_application_name: String, verbose_name: String, verbose_name_plural: String, meta_model_name: String, outpost_set: Vec<String>, ) -> RadiusProvider
RadiusProvider Serializer
Trait Implementations§
Source§impl Clone for RadiusProvider
impl Clone for RadiusProvider
Source§fn clone(&self) -> RadiusProvider
fn clone(&self) -> RadiusProvider
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more