100 const RequiredOptions = ...;
103 const AuthPath =
"/auth/v1/login";
194 "cls": Class::forName(
"ZeyosRestConnection"),
195 "options": RestConnection::ConnectionScheme.options + {
196 "appsecret": <ConnectionOptionInfo>{
198 "desc":
"the Zeyos application secret",
201 "identifier": <ConnectionOptionInfo>{
203 "desc":
"the Zeyos identifier;if none is provided, a random identifier string is used",
205 "instance": <ConnectionOptionInfo>{
207 "desc":
"the Zeyos instance name (first segment of URI path)",
210 "required_options": foldl $1 +
"," + $2, ZeyosRestClient::RequiredOptions,
224 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
checkLogin(*reference< hash< auto > > info)
Checks if a login is necessary; if so, then the login is performed.
static hash< auto > getOptions(hash< auto > options)
returns options for the RestClient::constructor()
loginIntern(*reference< hash > info)
logs in an sets the token for further communication
constructor(hash< auto > options, *softbool do_not_connect)
creates the object with the given options
class for Zeyos.com REST connections; returns ZeyosRestClient::ZeyosRestClient objects
Definition: ZeyosRestClient.qm.dox.h:189
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
creates the ZeyosRestConnection object
string getType()
returns "zeyosrest"
const ConnectionScheme
Connection entry info.
Definition: ZeyosRestClient.qm.dox.h:193
hash< auto > getConstructorOptions(hash< auto > options)
gets options for the constructor
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
ZeyosRestClient getImpl(bool connect=True, *hash< auto > rtopts)
returns a ZeyosRestClient::ZeyosRestClient object
the ZeyosRestClient namespace contains all the objects in the ZeyosRestClient module
Definition: ZeyosRestClient.qm.dox.h:87