pub struct PostParams {Show 39 fields
pub acr_values: Option<String>,
pub autocreate: Option<bool>,
pub base_dn: Option<String>,
pub bind_dn: Option<String>,
pub capath: Option<String>,
pub case_sensitive: Option<bool>,
pub cert: Option<String>,
pub certkey: Option<String>,
pub check_connection: Option<bool>,
pub client_id: Option<String>,
pub client_key: Option<String>,
pub comment: Option<String>,
pub default: Option<bool>,
pub domain: Option<String>,
pub filter: Option<String>,
pub group_classes: Option<String>,
pub group_dn: Option<String>,
pub group_filter: Option<String>,
pub group_name_attr: Option<String>,
pub issuer_url: Option<String>,
pub mode: Option<Mode>,
pub password: Option<String>,
pub port: Option<u64>,
pub prompt: Option<String>,
pub realm: String,
pub scopes: Option<String>,
pub secure: Option<bool>,
pub server1: Option<String>,
pub server2: Option<String>,
pub sslversion: Option<Sslversion>,
pub sync_defaults_options: Option<String>,
pub sync_attributes: Option<String>,
pub tfa: Option<String>,
pub ty: Type,
pub user_attr: Option<String>,
pub user_classes: Option<String>,
pub username_claim: Option<String>,
pub verify: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}Fields§
§acr_values: Option<String>Specifies the Authentication Context Class Reference values that theAuthorization Server is being requested to use for the Auth Request.
autocreate: Option<bool>Automatically create users if they do not exist.
base_dn: Option<String>LDAP base domain name
bind_dn: Option<String>LDAP bind domain name
capath: Option<String>Path to the CA certificate store
case_sensitive: Option<bool>username is case-sensitive
cert: Option<String>Path to the client certificate
certkey: Option<String>Path to the client certificate key
check_connection: Option<bool>Check bind connection to the server.
client_id: Option<String>OpenID Client ID
client_key: Option<String>OpenID Client Key
comment: Option<String>Description.
default: Option<bool>Use this as default realm
domain: Option<String>AD domain name
filter: Option<String>LDAP filter for user sync.
group_classes: Option<String>The objectclasses for groups.
group_dn: Option<String>LDAP base domain name for group sync. If not set, the base_dn will be used.
group_filter: Option<String>LDAP filter for group sync.
group_name_attr: Option<String>LDAP attribute representing a groups name. If not set or found, the first value of the DN will be used as name.
issuer_url: Option<String>OpenID Issuer Url
mode: Option<Mode>LDAP protocol mode.
password: Option<String>LDAP bind password. Will be stored in ‘/etc/pve/priv/realm/<REALM>.pw’.
port: Option<u64>Server port.
prompt: Option<String>Specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
realm: StringAuthentication domain ID
scopes: Option<String>Specifies the scopes (user details) that should be authorized and returned, for example ‘email’ or ‘profile’.
secure: Option<bool>Use secure LDAPS protocol. DEPRECATED: use ‘mode’ instead.
server1: Option<String>Server IP address (or DNS name)
server2: Option<String>Fallback Server IP address (or DNS name)
sslversion: Option<Sslversion>LDAPS TLS/SSL version. It’s not recommended to use version older than 1.2!
sync_defaults_options: Option<String>The default options for behavior of synchronizations.
sync_attributes: Option<String>Comma separated list of key=value pairs for specifying which LDAP attributes map to which PVE user field. For example, to map the LDAP attribute ‘mail’ to PVEs ‘email’, write ‘email=mail’. By default, each PVE user field is represented by an LDAP attribute of the same name.
tfa: Option<String>Use Two-factor authentication.
ty: TypeRealm type.
user_attr: Option<String>LDAP user attribute name
user_classes: Option<String>The objectclasses for users.
username_claim: Option<String>OpenID claim used to generate the unique username.
verify: Option<bool>Verify the server’s SSL certificate
additional_properties: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for PostParams
impl Clone for PostParams
Source§fn clone(&self) -> PostParams
fn clone(&self) -> PostParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more