active-directory-xamarin-native-v2 icon indicating copy to clipboard operation
active-directory-xamarin-native-v2 copied to clipboard

Persist user/token?

Open plettb opened this issue 3 years ago • 1 comments

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).

plettb avatar Oct 27 '22 16:10 plettb