Enum ruma_client_api::r0::uiaa::IncomingAuthData [−][src]
pub enum IncomingAuthData { DirectRequest { kind: String, session: Option<String>, auth_parameters: BTreeMap<String, JsonValue>, }, FallbackAcknowledgement { session: String, }, }
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
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 IncomingAuthData
impl Send for IncomingAuthData
impl Sync for IncomingAuthData
impl Unpin for IncomingAuthData
impl UnwindSafe for IncomingAuthData