pub enum GroupAccountPolicyOpt {
Show 15 variants
Enable {
name: String,
copt: CommonOpt,
},
AuthSessionExpiry {
name: String,
expiry: u32,
copt: CommonOpt,
},
CredentialTypeMinimum {
name: String,
value: AccountPolicyCredentialType,
copt: CommonOpt,
},
PasswordMinimumLength {
name: String,
length: u32,
copt: CommonOpt,
},
PrivilegedSessionExpiry {
name: String,
expiry: u32,
copt: CommonOpt,
},
WebauthnAttestationCaList {
name: String,
attestation_ca_list_json_file: PathBuf,
copt: CommonOpt,
},
LimitSearchMaxResults {
name: String,
maximum: u32,
copt: CommonOpt,
},
LimitSearchMaxFilterTest {
name: String,
maximum: u32,
copt: CommonOpt,
},
AllowPrimaryCredFallback {
name: String,
allow: bool,
copt: CommonOpt,
},
ResetAuthSessionExpiry {
name: String,
copt: CommonOpt,
},
ResetPasswordMinimumLength {
name: String,
copt: CommonOpt,
},
ResetPrivilegedSessionExpiry {
name: String,
copt: CommonOpt,
},
ResetWebauthnAttestationCaList {
name: String,
copt: CommonOpt,
},
ResetLimitSearchMaxResults {
name: String,
copt: CommonOpt,
},
ResetLimitSearchMaxFilterTest {
name: String,
copt: CommonOpt,
},
}
Variants§
Enable
Enable account policy for this group
AuthSessionExpiry
Set the maximum time for session expiry in seconds.
CredentialTypeMinimum
Set the minimum credential class that members may authenticate with. Valid values in order of weakest to strongest are: “any” “mfa” “passkey” “attested_passkey”.
PasswordMinimumLength
Set the minimum character length of passwords for accounts.
PrivilegedSessionExpiry
Set the maximum time for privilege session expiry in seconds.
WebauthnAttestationCaList
The WebAuthn attestation CA list that should be enforced
on members of this group. Prevents use of passkeys that are
not in this list. To create this list, use fido-mds-tool
from https://crates.io/crates/fido-mds-tool
LimitSearchMaxResults
Sets the maximum number of entries that may be returned in a search operation.
LimitSearchMaxFilterTest
Sets the maximum number of entries that are examined during a partially indexed search. This does not affect fully indexed searches. If in doubt, set this to 1.5x limit-search-max-results
AllowPrimaryCredFallback
Sets whether during login the primary password can be used as a fallback if no posix password has been defined
ResetAuthSessionExpiry
Reset the maximum time for session expiry to its default value
ResetPasswordMinimumLength
Reset the minimum character length of passwords to its default value.
ResetPrivilegedSessionExpiry
Reset the maximum time for privilege session expiry to its default value.
ResetWebauthnAttestationCaList
Reset the WebAuthn attestation CA list to its default value allowing any passkey to be used by members of this group.
ResetLimitSearchMaxResults
Reset the searche maxmium results limit to its default value.
ResetLimitSearchMaxFilterTest
Reset the max filter test limit to its default value.
Implementations§
Trait Implementations§
source§impl Debug for GroupAccountPolicyOpt
impl Debug for GroupAccountPolicyOpt
source§impl FromArgMatches for GroupAccountPolicyOpt
impl FromArgMatches for GroupAccountPolicyOpt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches
to self
.source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches
to self
.source§impl Subcommand for GroupAccountPolicyOpt
impl Subcommand for GroupAccountPolicyOpt
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moresource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self
can parse a specific subcommandAuto Trait Implementations§
impl Freeze for GroupAccountPolicyOpt
impl RefUnwindSafe for GroupAccountPolicyOpt
impl Send for GroupAccountPolicyOpt
impl Sync for GroupAccountPolicyOpt
impl Unpin for GroupAccountPolicyOpt
impl UnwindSafe for GroupAccountPolicyOpt
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more