AuthInterceptor constructor
AuthInterceptor({})
Implementation
AuthInterceptor({
this.authType = AuthType.bearer,
this.tokenProvider,
this.username,
this.password,
this.apiKeyHeaderName = 'X-API-Key',
this.customHeadersProvider,
this.onUnauthorized,
this.excludedEndpoints = const [],
});