Function loadConfig

Load settings from JSON file

immutable(OAuthSettings)[] loadConfig (
  string path
);

See OAuthSettings constructor documentation for a description of the JSON schema used. The file may contain an array of such JSON objects.

Parameters

NameDescription
path Path to the JSON file

Returns

An array of new OAuthSettings objects constructed with the JSON read from the specified file.