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.
Fields of DirectRequest
Used by the client to acknowledge that the user has completed a UIAA stage through the fallback method.
Fields of FallbackAcknowledgement
session: StringThe 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