Socket
Socket
Sign inDemoInstall

@did-connect/handler

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@did-connect/handler

Abstract handler for did-connect relay server


Version published
Weekly downloads
1.1K
decreased by-17.4%
Maintainers
1
Weekly downloads
 
Created
Source

styled with prettier docs Gitter

Overview

This package defines the core handlers of a DID Connect relay, the handlers fall into two categories:

  • HTTP handlers
    • handleSessionCreate: create a new session and persist it to storage
    • handleSessionRead: read a session from storage
    • handleSessionUpdate: update a session in storage, updates are limited
    • handleSessionDelete: delete a session from storage
    • handleClaimRequest: verify DID Wallet and send DID Connect requests
    • handleClaimResponse: verify DID Wallet and parse DID Connect responses
  • WebSocket handlers
    • wsServer: a WebSocket server that can be attached to a HTTP server and used to broadcast session change events to client

Notice

This package is baked into Blocklet Service and DID Connect Relay blocklet, you should not use it directly in any application.

Keywords

FAQs

Package last updated on 12 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc