105 const RequiredOptions = ...;
108 const AuthPath =
"/oauth/token";
114 string client_secret;
201 "cls": Class::forName(
"BillwerkRestConnection"),
202 "options": RestConnection::ConnectionScheme.options + {
203 "client_id": <ConnectionOptionInfo>{
205 "desc":
"the client ID",
207 "client_secret": <ConnectionOptionInfo>{
209 "desc":
"the client secret",
212 "required_options": foldl $1 +
"," + $2, BillwerkRestClient::RequiredOptions,
226 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
getToken()
logs in an sets the token for further communication
constructor(hash< auto > options, *softbool do_not_connect)
creates the object with the given options
static hash< auto > getOptions(hash< auto > options)
returns options for the RestClient::constructor()
class for Billwerk.com REST connections; returns BillwerkRestClient::BillwerkRestClient objects
Definition: BillwerkRestClient.qm.dox.h:196
const ConnectionScheme
Connection entry info.
Definition: BillwerkRestClient.qm.dox.h:200
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
BillwerkRestClient getImpl(bool connect=True, *hash< auto > rtopts)
returns a BillwerkRestClient::BillwerkRestClient object
hash< auto > getConstructorOptions(hash< auto > options)
gets options for the constructor
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
creates the BillwerkRestConnection object
string getType()
returns "billwerkrest"
the BillwerkRestClient namespace contains all the objects in the BillwerkRestClient module
Definition: BillwerkRestClient.qm.dox.h:92