WP7: Persist authentication

Jul 7, 2012 at 7:34 PM


Instead of saving the authorizer, you can save the credentials.  They have a ToString() and Load() method for retrieving and saving.  You can use ToString() to get the credentials and save.  Then retrieve the credentials, re-instantiate the authorizer, and use Load to add the credentials to the authorizer.  Whenever the authorizer has the proper credentials, the user won't need to reauthorize.


Dec 31, 2012 at 8:28 AM

hi Joe, can you please give an example? i have tried to load but couldn't.

Waiting for your response. Thanks