pub struct UiaaInfo {
pub flows: Vec<AuthFlow>,
pub completed: Vec<AuthType>,
pub params: Box<RawValue>,
pub session: Option<String>,
pub auth_error: Option<StandardErrorBody>,
}
Available on crate features
client
or server
only.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<AuthType>
List of stages in the current flow completed by the client.
params: Box<RawValue>
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<StandardErrorBody>
Authentication-related errors for previous request returned by homeserver.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiaaInfo
impl<'de> Deserialize<'de> for UiaaInfo
Source§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 Freeze for UiaaInfo
impl RefUnwindSafe for UiaaInfo
impl Send for UiaaInfo
impl Sync for UiaaInfo
impl Unpin for UiaaInfo
impl UnwindSafe for UiaaInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more