I\'m using Dio and its interceptors to handle authentication with my REST API.
After authentication I add a global interceptor like this:
_authIntercep