View definition

func ConfigFromJSON(jsonKey []byte, scope ...string) (*Config, error)

Defined in


ConfigFromJSON uses a Google Developers Console client_credentials.json file to construct a config. client_credentials.json can be downloaded from, under “Credentials”. Download the Web application credentials in the JSON format and provide the contents of the file as jsonKey.

ConfigFromJSON is referenced in 35 repositories