pub async fn revoke_grant(
pool: Data<PgPool>,
auth_user: AuthUser,
grant_id: Path<Uuid>,
app_conf: Data<ApplicationConfiguration>,
cache: Data<Cache>,
) -> ControllerResult<HttpResponse>Expand description
DELETE /api/v0/main-frontend/oauth/grants/{grant_id} - Revokes one of the signed-in user’s grants
and every token issued from it. The client has to ask for consent again.