-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce general auth abstraction (#88)
* implement pluggable auth and add multisig test * add test using hypercore extension * correct multisig extension test * add proof-of-work test * support passing opts.sign for backwards compat * pass auth instance to core methods * uint8array friendly tests * add test for custom sign backwards compat * typo in test * use b4a instead of Buffer * missing require in test * add instance example to test * use b4a.alloc in test Co-authored-by: Kasper Isager Dalsgarð <[email protected]> * ensure writable is a boolean Co-authored-by: Kasper Isager Dalsgarð <[email protected]>
- Loading branch information
1 parent
18c7ff9
commit f9612bc
Showing
6 changed files
with
314 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.