By a coincidence I found that refresh and access OAuth tokens are stored in roaming folder of a user after successful authorization.
Is there a way to stop doing it?
Also I am just curious - how is it Google thinking its a good approach to store refresh token on a disk? (especially not telling the user about it).
Apparently (after some experimenting) if you don't supply your own data store the API saves it in your Windows roaming folder
\AppData\Roaming\Google.Apis.Authhowever if you provide an "empty" data store this wont happen.
here is the code:
Data store: