c# - Is it okay to store access tokens on clients computer when using AuthenticationContext from ADAL -


i building wpf application , using authenticationcontext adal @ each startup right , cache access tokens in way not having prompt user each time application start.

i given refresh tokens , access tokens. not sure if accepable serialize them on disk application. there should aware of?

working adal, there build in helping me serialize/deserialize context , @ startup. (only found deserialize on authenticationresult sofar).

you can creating own custom cache. vittorio talks here. scroll down "dude, own" section.

and sample code references uses credential manager available here.

you use as-is based on you've described.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -