pub enum GroupAccountPolicyOpt {
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: String,
copt: CommonOpt,
},
}
Variants§
Enable
Enable account policy for this group
AuthSessionExpiry
Set the maximum time for session expiry
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 length of passwords for accounts
PrivilegedSessionExpiry
Set the maximum time for privilege session expiry
WebauthnAttestationCaList
The the webauthn attestation ca list that should be enforced
on members of this group. Prevents use of passkeys that are
in this list. To create this list, use fido-mds-tool
from https://crates.io/crates/fido-mds-tool
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>
Assign values from
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>
Assign values from
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
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
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> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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
Mutably borrows from an owned value. Read more