Struct ruma_client_api::r0::uiaa::UiaaInfo [−][src]
pub struct UiaaInfo { pub flows: Vec<AuthFlow>, pub completed: Vec<String>, pub params: Box<RawJsonValue>, pub session: Option<String>, pub auth_error: Option<ErrorBody>, }
Expand description
Information about available authentication flows and status for User-Interactive Authenticiation API.
Fields
flows: Vec<AuthFlow>
List of authentication flows available for this endpoint.
completed: Vec<String>
List of stages in the current flow completed by the client.
params: Box<RawJsonValue>
Authentication parameters required for the client to complete authentication.
To create a Box<RawJsonValue>
, use serde_json::value::to_raw_value
.
session: Option<String>
Session key for client to use to complete authentication.
auth_error: Option<ErrorBody>
Authentication-related errors for previous request returned by homeserver.
Implementations
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 UiaaInfo
impl UnwindSafe for UiaaInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more