authHeaderInterceptorProvider top-level property
final
Provider for a request interceptor that adds authentication-related headers
Implementation
final authHeaderInterceptorProvider = FutureProvider(
(ref) async => AuthHeaderInterceptor(
authHeaderCallback:
(await ref.watch(authManagerProvider.future)).getAuthHeader,
apiKey: await ref.watch(_apiKeyProvider.future),
),
);