Enum kanidm_proto::v1::SetCredentialResponse [−][src]
pub enum SetCredentialResponse {
Success,
Token(String),
TotpCheck(Uuid, TotpSecret),
TotpInvalidSha1(Uuid),
WebauthnCreateChallenge(Uuid, CreationChallengeResponse),
BackupCodes(Vec<String>),
}
Variants
Token(String)
Tuple Fields of Token
0: String
TotpCheck(Uuid, TotpSecret)
Tuple Fields of TotpCheck
0: Uuid
1: TotpSecret
TotpInvalidSha1(Uuid)
Tuple Fields of TotpInvalidSha1
0: Uuid
WebauthnCreateChallenge(Uuid, CreationChallengeResponse)
Tuple Fields of WebauthnCreateChallenge
0: Uuid
1: CreationChallengeResponse
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