# Functions

Authenticate authenticates an access token or gets a new one with the refresh tokenThe returned string is either the error message or the user email.
GenerateLoginURL generates the login url using googleapis OAuth2 Client Secret and OAuth2 Client ID.
GetAccessToken exchange authorization code with access token.
SaveToken writes the token parameters on DB.
Token reads token from DB.