@fission-codes/ucan
v0.3.0
Published
UCAN (User Controlled Authorization Networks) is a decentralized authorization protocol for the web.
Downloads
422
Readme
UCAN
Installation
pnpm install @fission-codes/ucan
Usage
import { UCAN } from '@fission-codes/ucan'
import { EdDSASigner } from 'iso-signatures/signers/eddsa.js'
const ucan = await UCAN.create({
issuer: signer,
audience: audience.did,
capabilities: { 'ucan:*': { '*': [{}] } },
})
Docs
Check https://fission-codes.github.io/stack
Contributing
Read contributing guidelines here.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.