An open API service indexing awesome lists of open source software.

https://github.com/cafjs/caf_crossapp

A CAF library for cross-app interactions
https://github.com/cafjs/caf_crossapp

Last synced: 5 months ago
JSON representation

A CAF library for cross-app interactions

Awesome Lists containing this project

README

          

# 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](https://github.com/cafjs/caf_crossapp/actions/workflows/push.yml/badge.svg)](https://github.com/cafjs/caf_crossapp/actions/workflows/push.yml)

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}