pub struct LdapProviderRequest {Show 13 fields
pub name: String,
pub authentication_flow: Option<Option<Uuid>>,
pub authorization_flow: Uuid,
pub property_mappings: Option<Vec<Uuid>>,
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 search_mode: Option<LdapapiAccessMode>,
pub bind_mode: Option<LdapapiAccessMode>,
pub mfa_support: Option<bool>,
}
Expand description
LdapProviderRequest : LDAPProvider 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.
property_mappings: Option<Vec<Uuid>>
§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
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 LdapProviderRequest
impl LdapProviderRequest
Sourcepub fn new(name: String, authorization_flow: Uuid) -> LdapProviderRequest
pub fn new(name: String, authorization_flow: Uuid) -> LdapProviderRequest
LDAPProvider Serializer
Trait Implementations§
Source§impl Clone for LdapProviderRequest
impl Clone for LdapProviderRequest
Source§fn clone(&self) -> LdapProviderRequest
fn clone(&self) -> LdapProviderRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more