new EndPointConfig(configuration)
Library to facilitate OAuth authentication.
All of the Clover rest calls will require that the application has an oauth token. This
object makes obtaining and using a token clearer.
The constructor sets up the object, and may throw an error if the clientId is not present on the
passed configuration.
Parameters:
Name |
Type |
Description |
configuration |
map
|
an object of the form
{
"clientId": the_id_for_your_clover_application, required
"domain" : the clover server url. if unset, defaulted to CloverOAuth.defaultDomain
} |
- Source: