AppAuth-iOS icon indicating copy to clipboard operation
AppAuth-iOS copied to clipboard

authState as a property of AppDelegate

Open ronnybremer opened this issue 10 months ago • 0 comments

According to the documentation, the "containing" class should have this property added:

// property of the containing class
private var authState: OIDAuthState?

The currentAuthFlow property is supposed to be in the AppDelegate.

In order to automatically use refresh tokens before expiry, I need to wrap my Rest calls using the authState property from above. However, those classes don't have access to the login/logout view controller. Can I safely move the property to the AppDelegate as well or are there any hidden issues I am not aware of in doing so?

ronnybremer avatar Apr 18 '24 09:04 ronnybremer