use crate::Client;
use crate::errors::Result;
use crate::methods::accepted;
use crate::raw::functions;
impl Client {
/// Logs out every device except the current one.
pub async fn terminate_all_other_sessions(&self) -> Result<()> {
accepted(self.invoke(&functions::auth::ResetAuthorizations {}).await?)
}
}