# Functions
NewOAuth2FromFile creates an OAuth2 instance by reading the OAuth2 related information from a secret file.
NewServiceFromFile creates a Service instance by reading the Google service account related information from a file.
NewServiceFromJSON works exactly the same as NewServiceFromFile, but instead of reading from a file, the raw content of the Google service account JSON file is provided directly.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
OAuth2 takes in OAuth2 relevant information and sets up *http.Client that can be used to access Google APIs seamlessly.
OAuth2Config defines a list of configurations that can be used to customise how the Google OAuth2 flow works.
Service takes in service account relevant information and sets up *http.Client that can be used to access Google APIs seamlessly.
ServiceConfig defines a list of configurations that can be used to customise how the Google service account authentication flow works.
# Type aliases
Scopes encapsulates a list of Google resources scopes to request during authentication step.