@adxp/auth-lobby
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

ADX Auth Lobby

  • Holds keys
  • Signs device UCANs
  • Signs application UCANs

Run demo

# Install all packages from monorepo root
yarn

# Build all packages from monorepo root
yarn build

# Run ws-relay
cd ws-relay
yarn start

# Run Auth lobby
cd auth-lobby
yarn start

# (Optional) Run second Auth lobby to test device linking
cd auth-lobby
PORT=3002 yarn start

# Run example application
cd example-app
yarn start

Use API

import serveAuthLobby from '@adxp/auth-lobby'

const server = serveAuthLobby(/* port */3001)
server.on('error', /* ... */)
server.on('listening', /* ... */)

Readme

Keywords

none

Package Sidebar

Install

npm i @adxp/auth-lobby

Weekly Downloads

0

Version

0.0.3

License

none

Unpacked Size

1.38 MB

Total Files

22

Last publish

Collaborators

  • pfrazee
  • dholms