Enum ruma::api::client::r0::uiaa::IncomingAuthData [−][src]
pub enum IncomingAuthData { DirectRequest { kind: String, session: Option<String>, auth_parameters: BTreeMap<String, Value>, }, FallbackAcknowledgement { session: String, }, }
api
and (crate features client-api
or client-api-c
or client-api-s
) only.Expand description
‘Incoming’ variant of AuthData.
Variants
Used for sending UIAA authentication requests to the homeserver directly from the client.
Show fields
Used by the client to acknowledge that the user has completed a UIAA stage through the fallback method.
Show fields
Fields of FallbackAcknowledgement
session: String
The value of the session key given by the homeserver.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IncomingAuthData, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IncomingAuthData, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
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