Moonstream: Open source Web3 authorization library
Project description
web3login python
Open source Web3 authorization Python library.
CLI
Generate the signature
web3login authorize \
--application "<your_application_name_or_any_string>" \
--deadline "<unix_timestamp_until_signature_will_be_active>" \
--signer .secrets/keyfile -p "${KEYFILE_PASSWORD}" | base64 -w 0
Output base64 string could be passed as Authorization
header or verified with CLI.
Verify the signature
web3login verify \
--application "<your_application_name_or_any_string>" \
--payload "${GENERATED_BASE64_SIGNATURE}"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
web3login-0.0.3.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for web3login-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44f88803db9a25338f76057f1855aeb289ce3d78f4576e87f5e7be5f53dc3cd4 |
|
MD5 | 51aff9be8bf070ccada50875a565c22e |
|
BLAKE2b-256 | 24abf5bb0071c2e45f06d45c08984f7d41eada2c3db0f47ecf3d15e34e704029 |