nalexn / clean-architecture-swiftui

SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
MIT License
5.56k stars 671 forks source link

How do i add interceptor? #85

Closed bilaldurnagol closed 1 year ago

bilaldurnagol commented 1 year ago

It is necessary to add an interceptor(retry and adapt) for logics such as refresh tokens and access token.

nalexn commented 1 year ago

Hey - not sure if this is a question specific to this project, there are no refresh or access tokens in use, you might want to ask in a more relevant place like stack overflow or reddit.