View definition

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

Defined in github.com/golang/oauth2/google/google.go

Description

ConfigFromJSON uses a Google Developers Console client_credentials.json file to construct a config. client_credentials.json can be downloaded from https://console.developers.google.com, 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

github.com/Nya-N/Nya-N github.com/wushilin/gauth github.com/jschweizer78/ciscoSsh

...