how to rebuild ODClient with token
Closed this issue · 1 comments
deco1515 commented
I got ODClient by calling ODClient.authenticatedClient
.
Now I want to rebuild ODClient in another device.
what can I do?
kevklam commented
Unfortunately that isn't currently a supported scenario. It should be possible by writing your own ODAuthProvider or likely by subclassing an existing one, however there is a lot of convenience logic that is coded to specifically work with the existing auth providers that won't be usable (i.e. most of the stuff in ODClient+Authentication and ODClient+DefaultConfiguration).