caf_crossapp

0.4.2 • Public • Published

Caf.js

Co-design cloud assistants with your web app and IoT devices.

See https://www.cafjs.com

Library for cross-application interaction

Build Status

This repository contains a Caf.js library that enables interactions between applications.

Applications, even from the same owner, never trust each other. Cross-app interactions are similar to an external client accessing the target application, i.e., security tokens are needed to authenticate the interaction.

To enable methods to be called by anybody, we can enable the user nobody (see property allowNobodyUser in caf_security), and this bypasses the authentication checks for that user. Security can then rely on, for example, signed tokens explicitly passed as arguments to the method. The application caf_gadget follows this approach.

API

See {@link module:caf_crossapp/proxy_crossapp}

Configuration

framework.json

See {@link module:caf_crossapp/plug_crossapp}

ca.json

See {@link module:caf_crossapp/plug_ca_crossapp}

Readme

Keywords

none

Package Sidebar

Install

npm i caf_crossapp

Weekly Downloads

7

Version

0.4.2

License

Apache-2.0

Unpacked Size

40.4 kB

Total Files

17

Last publish

Collaborators

  • antlai