Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authState as a property of AppDelegate #849

Open
ronnybremer opened this issue Apr 18, 2024 · 0 comments
Open

authState as a property of AppDelegate #849

ronnybremer opened this issue Apr 18, 2024 · 0 comments
Labels
bug triage Issues that need to be triaged

Comments

@ronnybremer
Copy link

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 ronnybremer added bug triage Issues that need to be triaged labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues that need to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant