Open
Description
Is your feature request related to a problem? Please describe.
Provide an alternative to interceptors by introducing two new events:
sanctum:request
which triggers inside of theonRequest
interceptorsanctum:response
which trigger inside of theonResponse
interceptor
Both hooks should provide the same access to the fetch context, nuxt instance and allow extending headers, options and logging necessary messages.