I want to develop a Google Sheets ODBC driver like CData ODBC driver in C# windows application
.
CData OBDC driver access my Gmail account provide following connection details:
DRIVER= {CData ODBC Driver for GoogleSheets};
_persist_oauthaccesstoken=XXXXXXXXXXXXXXXXXXXXXXXXXXX;
_persist_oauthexpiresin=3600;
_persist_oauthrefreshtoken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;
_persist_token_timestamp=1503999951866
Here I want to generate oauthaccesstoken, oauthexpiresin, oauthrefreshtoken, token_timestamp.
I have Client ID and Client secret
. How to generate above keys?
Thanks in advance