Connection
Class representing instance of Connection
Methods
getConnectionId
Gets the ID of the current connection.
Returns
Promise<number>
·
ID of the connection
listContexts
Gets a list of Contexts available for the user.
Params
pagingQuery
PagingQuery
struct with list query parameters
Returns
Promise<PagingList<Context>>
·
struct containing a list of Contexts
getContextUsers
Gets a list of users of given context.
Params
contextId
string
ID of the Context
Returns
Promise<UserInfo[]>
·
a list of the UserInfo objects
disconnect
Disconnects from the Platform backend.
setUserVerifier
Sets user's custom verification callback. The feature allows the developer to set up a callback for user verification. A developer can implement an interface and pass the implementation to the function. Each time data is read from the container, a callback will be triggered, allowing the developer to validate the sender in an external service, e.g. Developer's Application Server or PKI Server.
Params
verifier
UserVerifierInterface
an implementation of the UserVerifierInterface
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.