/dcl-crypto-middleware-rs

Authenticate WebSocket connections using the Decentraland's Authchain

Primary LanguageRustApache License 2.0Apache-2.0

Decentraland Authentication Middleware for Rust

Utils to authenticate a DCL user using the Authchain

This crate aims to provide all the utilities needed for authenticating an user when creating a new Rust service. It can be compared to this library for TS

It provides:

  • A mechanism for authenticating a WS conneciton.
  • A verification function for signed fetches to be called as a middleware on a HTTP Server.