Enum ruma_client_api::r0::uiaa::IncomingAuthData [−][src]
#[non_exhaustive]
pub enum IncomingAuthData {
Password(IncomingPassword),
ReCaptcha(IncomingReCaptcha),
Token(IncomingToken),
OAuth2(IncomingOAuth2),
EmailIdentity(IncomingEmailIdentity),
Msisdn(IncomingMsisdn),
Dummy(IncomingDummy),
FallbackAcknowledgement(IncomingFallbackAcknowledgement),
// some variants omitted
}Expand description
‘Incoming’ variant of AuthData.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Password-based authentication (m.login.password).
Tuple Fields of Password
Google ReCaptcha 2.0 authentication (m.login.recaptcha).
Tuple Fields of ReCaptcha
Token-based authentication (m.login.token).
Tuple Fields of Token
OAuth2-based authentication (m.login.oauth2).
Tuple Fields of OAuth2
Email-based authentication (m.login.email.identity).
Tuple Fields of EmailIdentity
Phone number-based authentication (m.login.msisdn).
Tuple Fields of Msisdn
Dummy authentication (m.login.dummy).
Tuple Fields of Dummy
Fallback acknowledgement.
Tuple Fields of FallbackAcknowledgement
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more