# useSanctumAppConfig

This composable provides quick access to the module configuration instead of using `useAppConfig().sanctum`.&#x20;

Take a look at the following example

{% code fullWidth="false" %}

```ts
const config = useSanctumAppConfig();

console.log(config.interceptors.onRequest); // appConfig.sanctum.interceptors.onRequest
```

{% endcode %}

More details about the configuration structure can be found [here](https://manchenkoff.gitbook.io/nuxt-auth-sanctum/0.4/usage/configuration).
