Enum kanidm_proto::v1::SetCredentialRequest [−][src]
pub enum SetCredentialRequest {
Password(String),
GeneratePassword,
TotpGenerate,
TotpVerify(Uuid, u32),
TotpAcceptSha1(Uuid),
TotpRemove,
WebauthnBegin(String),
WebauthnRegister(Uuid, RegisterPublicKeyCredential),
WebauthnRemove(String),
BackupCodeGenerate,
BackupCodeRemove,
}
Variants
Password(String)
Tuple Fields of Password
0: String
TotpAcceptSha1(Uuid)
Tuple Fields of TotpAcceptSha1
0: Uuid
WebauthnBegin(String)
Tuple Fields of WebauthnBegin
0: String
WebauthnRegister(Uuid, RegisterPublicKeyCredential)
Tuple Fields of WebauthnRegister
0: Uuid
1: RegisterPublicKeyCredential
WebauthnRemove(String)
Tuple Fields of WebauthnRemove
0: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SetCredentialRequest
impl Send for SetCredentialRequest
impl Sync for SetCredentialRequest
impl Unpin for SetCredentialRequest
impl UnwindSafe for SetCredentialRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more