---
url: "https://vueda.dev/v3/reference/api/js/stores/storeWorkflow/methods/clearAuthScoped.md"
title: "clearAuthScoped"
---

# clearAuthScoped

## Overview

Drops every cached workflow response, because permitted transitions and state histories
are both filtered for the authenticated user.

The module-level `usingVuedaWorkflow` flag is integrator configuration, not user data, so
it is untouched. Keys are deleted in place, deepest level first, so `toRef` handles
consumers hold keep reading the live containers. Never replace a container here (that is
what `$reset` does, and it detaches every held handle).

## Signature

`clearAuthScoped()`

### Returns

`void`

## Source

`client/lib/stores/storeWorkflow.js:309`
