Function loadConfig
Load settings from JSON file
See OAuthSettings constructor documentation for a description of the JSON schema used. The file may contain an array of such JSON objects.
Parameters
Name | Description |
---|---|
path | Path to the JSON file |
Returns
An array of new OAuthSettings objects constructed with the JSON read from the specified file.