SimpleAuth
SimpleAuth copied to clipboard
Adds access_type parameter for GoogleWeb provider
Adds access_type parameter to default options. If nothing was set for this parameter, its default value is online. I added this if you want to request a refresh token from Google's Identity Platform then persist it for future use. Also, it passes the credentials as is in the dictionaryWithAccount method.
If you think this is a good addition to GoogleWeb provider and will be useful to others, please don't hesitate to merge it. Thanks.
Reference: Using OAuth 2.0 to Access Google APIs