public protocol TokenResolver
Protocol that needs to be implemented by the developer
for the purpose of supplying a
Tokens object to the SDK.
This method will be called by the SDK to acquire the access/refresh tokens.
Tokensinstance with invalid tokens will cause the pending request to fail with a
NoteThis method is always called on a background thread.
ImportantThe completion handler must always be called. If, for whatever reason, no tokens could be acquired, call the completion handler with a
func resolve(_ completion: @escaping (Tokens?) -> Void)
Completion handler that needs to be called with a