pub struct LdapProvider {Show 23 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 base_dn: Option<String>,
pub search_group: Option<Option<Uuid>>,
pub certificate: Option<Option<Uuid>>,
pub tls_server_name: Option<String>,
pub uid_start_number: Option<i32>,
pub gid_start_number: Option<i32>,
pub outpost_set: Vec<String>,
pub search_mode: Option<LdapapiAccessMode>,
pub bind_mode: Option<LdapapiAccessMode>,
pub mfa_support: Option<bool>,
}
Expand description
LdapProvider : LDAPProvider 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
base_dn: Option<String>
DN under which objects are accessible.
search_group: Option<Option<Uuid>>
Users in this group can do search queries. If not set, every user can execute search queries.
certificate: Option<Option<Uuid>>
§tls_server_name: Option<String>
§uid_start_number: Option<i32>
The start for uidNumbers, this number is added to the user.pk to make sure that the numbers aren’t too low for POSIX users. Default is 2000 to ensure that we don’t collide with local users uidNumber
gid_start_number: Option<i32>
The start for gidNumbers, this number is added to a number generated from the group.pk to make sure that the numbers aren’t too low for POSIX groups. Default is 4000 to ensure that we don’t collide with local groups or users primary groups gidNumber
outpost_set: Vec<String>
§search_mode: Option<LdapapiAccessMode>
§bind_mode: Option<LdapapiAccessMode>
§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 LdapProvider
impl LdapProvider
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>,
) -> LdapProvider
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>, ) -> LdapProvider
LDAPProvider Serializer
Trait Implementations§
Source§impl Clone for LdapProvider
impl Clone for LdapProvider
Source§fn clone(&self) -> LdapProvider
fn clone(&self) -> LdapProvider
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more