dio_auth_interceptor 0.1.0
dio_auth_interceptor: ^0.1.0 copied to clipboard
Drop-in Dio & http interceptor for JWT refresh with a tested single-flight queue: concurrent 401s trigger exactly one refresh call, zero boilerplate.
0.1.0 #
- Initial release.
DioAuthInterceptor: transparent access-token refresh + retry for Dio, with a single-flight queue so concurrent 401s trigger exactly one refresh call.AuthHttpClient: the same behavior as anhttp.BaseClientwrapper for thehttppackage.AuthRefreshController: the client-agnostic single-flight coordinator both adapters are built on, exported for advanced/custom integrations.