pub async fn revoke_sessions_for_user(cx: &Cx, user_id: &str) -> Result<()>Expand description
Revokes every live session of user_id, its pending sign-ins, its reset links and its pending
email change, on the current panel and on each panel sharing its users, whose authenticator
loads the same user type, or on every panel outside any panel; call it whenever a credential
changes. A link that proves an address or undoes an email change survives.
ยงErrors
The opaque sign-in outage when the database cannot answer.