useSanctumConfig
This composable provides quick access to the module configuration instead of using useRuntimeConfig
and several keys like public.sanctum
.
Take a look at the following example
More details about the configuration structure can be found here.