#user #authenticate #user-service #middleware #websocket #decentraland #signed

dcl-crypto-middleware-rs

Utils to authenticate Decentraland users on Rust services

4 releases

0.2.1 May 31, 2023
0.2.0 May 30, 2023
0.1.1 May 25, 2023
0.1.0 May 25, 2023

#538 in Authentication

34 downloads per month

Apache-2.0

37KB
782 lines

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.

Dependencies

~14–25MB
~312K SLoC