Function minerva_rest::controller::auth::logout
source · [−]async fn logout(
tenant: String,
session: SessionInfo
) -> Result<Json<Message>, ErrorResponse>
Expand description
Route for user logoff.
This route requires a session token passed as Bearer Token. Upon successful logoff, the session will be invalidated on both database and cache.