I want to save my token string in mysql database. I am not sure about the maximum size for the token returned by the Client :: getAccessToken function in the google-api-php-client library https://github.com/google/google-api-php-client
Now I did print_r on the value and noticed that the length is 168. This led me to save the token as a varchar type and a length of 200.
I would really appreciate a more definitive answer regarding the maximum length of the access token string returned by the getAccessToken function in the google-api-php-client library. And I would appreciate recommendations for storing this information in the mysql database.
source share