This sample has helped me get a fairly good understanding of how to manage authenticated users and sessions on a local Windows 10 app. One thing that I would like to be able to do however, is persist the authenticated session.
Current Behavior
Login to application
Acquire id token and access token
Refresh access token as necessary
Close app -> authenticated session ends.
Desired Behavior
I would like to be able to achieve the behavior above plus be able to open the application again after closing it and still be authenticated.
Right now, authenticated session ends when I close the app. How would I go about chaining this behavior?
This sample has helped me get a fairly good understanding of how to manage authenticated users and sessions on a local Windows 10 app. One thing that I would like to be able to do however, is persist the authenticated session.
Current Behavior
Desired Behavior I would like to be able to achieve the behavior above plus be able to open the application again after closing it and still be authenticated.
Right now, authenticated session ends when I close the app. How would I go about chaining this behavior?