@creatdevsolutions/service
v0.1.0
Published
Node Implementation for Service Lib from Embedded Enterprises
Downloads
35
Readme
Service Library
Introduction
This is a service library implementation for Interconnect from Embedded Enterprises. This is a reimplementation from service library.
Usage
See examples/index.ts
for a usage example.
Configuration
General options
url
- String - Routerrealm
- String - RealmenableRetry
- Boolean - Enables automatic reconnect to router. It does not reregister any methods.isPingEnabled
- Boolean - Enables ping to autobahnkreuz to preving disconnects through different proxies.isDebug
- Boolean - Enables advanced logging.
Authentication
Anonymous Authentication
We are using anonymous authentication by default.
Ticket Authentication
useAuth
- Boolean - Enables ticket authenticationuser
- String - Usernamepassword
- String - PasswordgenerateResumeToken
- Boolean - Generates a new resume token, if the authentication was successful.
Resume Token Authentication
useResumeTokenAuth
- Boolean - Enables resume token authenticationresumeToken
- String - Resume Token, which should be used to authenticate.generateResumeToken
- Boolean - Generates a new resume token, if the authentication was successful.
TLS Client Authentication
useTLSAuth
- Boolean - Enables TLS client authenticationca
- Buffer/String - CAcert
- Buffer/String - Client Certkey
- Buffer/Stirng - Client Key