This composable provides quick access to the module configuration instead of using useAppConfig().sanctum.
useAppConfig().sanctum
Take a look at the following example
More details about the configuration structure can be found .
const config = useSanctumAppConfig(); console.log(config.interceptors.onRequest); // appConfig.sanctum.interceptors.onRequest