shrike 0.1.1

AT Protocol library for Rust
Documentation
// Code generated by lexgen. DO NOT EDIT.

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct TempRevokeAccountCredentialsInput {
    pub account: crate::syntax::AtIdentifier,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// TempRevokeAccountCredentials — Revoke sessions, password, and app passwords associated with account. May be resolved by a password reset.
pub async fn temp_revoke_account_credentials(
    client: &crate::xrpc::Client,
    input: &TempRevokeAccountCredentialsInput,
) -> Result<(), crate::xrpc::Error> {
    let _: serde_json::Value = client
        .procedure("com.atproto.temp.revokeAccountCredentials", input)
        .await?;
    Ok(())
}