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
Password(IncomingPassword)Password-based authentication (m.login.password).
Tuple Fields of Password
ReCaptcha(IncomingReCaptcha)Google ReCaptcha 2.0 authentication (m.login.recaptcha).
Tuple Fields of ReCaptcha
Token(IncomingToken)Token-based authentication (m.login.token).
Tuple Fields of Token
OAuth2(IncomingOAuth2)OAuth2-based authentication (m.login.oauth2).
Tuple Fields of OAuth2
EmailIdentity(IncomingEmailIdentity)Email-based authentication (m.login.email.identity).
Tuple Fields of EmailIdentity
Msisdn(IncomingMsisdn)Phone number-based authentication (m.login.msisdn).
Tuple Fields of Msisdn
Dummy(IncomingDummy)Dummy authentication (m.login.dummy).
Tuple Fields of Dummy
FallbackAcknowledgement(IncomingFallbackAcknowledgement)Fallback acknowledgement.
Tuple Fields of FallbackAcknowledgement
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IncomingAuthData
impl Send for IncomingAuthData
impl Sync for IncomingAuthData
impl Unpin for IncomingAuthData
impl UnwindSafe for IncomingAuthData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
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