6 releases
0.1.5 | Oct 18, 2023 |
---|---|
0.1.4 | Oct 4, 2023 |
0.1.2 | Sep 13, 2023 |
0.1.1 | Jun 20, 2023 |
#1091 in Authentication
47 downloads per month
Used in 2 crates
365KB
9K
SLoC
Rebase Witness SDK
This SDK enables creating server-side "Witness" (Verifiable Credential issuing) services over HTTP as well as creating corresponding clients. Because it is developed in Rust, it can by called by many languages through FFIs and can compile to WebAssembly (WASM) for use in the browser (available in this package).
- A full working example of the witness services can be found here implemented as Cloudflare Worker.
- A full working example of a UI that utilizes the client has a repo here.
- An online implementation here, where it points to a live CF worker witness.
This repository combines all of the flow
s defined in the Core Library into a single WitnessFlow
struct found in this file with all flows being optional. A witness service can then configure as many or as few of the flow
s as they so choose. A good example of usage of this configuration is found in the CF worker project linked above.
Each time a new flow is added, the WitnessFlow
and it's Flow<...>
definition must be updated in order to make the new flow
available to consumers of the library.
To make use of witnesses developed by this library in websites, see Rebase Client for the Typescript+WASM implementation of the client defined here.
Dependencies
~41–63MB
~1M SLoC