active-directory-xamarin-native-v2
active-directory-xamarin-native-v2 copied to clipboard
Persist user/token?
In Maui is there a mechanism for persisting the user or token so that it is available between sessions (i.e. so that the user doesn't actually have to log in each time they use my app)? I'm not sure if it's the "account" or the "token" that should be cached. In other words, I'm not sure if it's the "PCA.GetAccountsAsync" or the "PCA.AcquireTokenSilent" that should be pre-populated.
Thanks!
P.S. I just noticed that this is only a problem on Windows. Android appears to do this automatically (by default).