Skip to main content

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.5.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

web3login-0.0.5-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page