@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.01
0.0.14-beta30
0.0.14-beta20
0.0.14-beta10
0.0.130
0.0.110
0.0.100
0.0.10-beta10
0.0.90
0.0.80
0.0.71
0.0.60
0.0.50
0.0.4-beta100
0.0.4-beta90
0.0.4-beta80
0.0.4-beta70
0.0.4-beta60
0.0.4-beta50
0.0.4-beta30
0.0.4-beta20
0.0.4-beta10
0.0.4-beta00
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @creatdevsolutions/service

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

39.4 kB

Total Files

28

Last publish

Collaborators

  • johannwagner
  • mwallewein