@creatdevsolutions/service
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Service Library

Build Status

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 - Router
  • realm - String - Realm
  • enableRetry - 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 authentication
  • user - String - Username
  • password - String - Password
  • generateResumeToken - Boolean - Generates a new resume token, if the authentication was successful.

Resume Token Authentication

  • useResumeTokenAuth - Boolean - Enables resume token authentication
  • resumeToken - 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 authentication
  • ca - Buffer/String - CA
  • cert - Buffer/String - Client Cert
  • key - Buffer/Stirng - Client Key

Readme

Keywords

none

Package Sidebar

Install

npm i @creatdevsolutions/service

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

39.4 kB

Total Files

28

Last publish

Collaborators

  • johannwagner
  • mwallewein