Skip to main content

Package for working with Network APIs that require Oauth2 in Python.

Project description

Vonage Network API Authentication Client

This package (vonage-network-auth) provides a client for authenticating Network APIs that require Oauth2 authentication. Using it, it is possible to generate authenticated JWTs for use with Vonage Network APIs, e.g. Sim Swap, Number Verification.

This package is intended to be used as part of the vonage SDK package, accessing required methods through the SDK instead of directly. Thus, it doesn't require manual installation or configuration unless you're using this package independently of an SDK.

For full API documentation, refer to the Vonage developer documentation.

Installation

Install from the Python Package Index with pip:

pip install vonage-network-auth

Usage

Create a NetworkAuth Object

from vonage_network_auth import NetworkAuth
from vonage_http_client import HttpClient, Auth

network_auth = NetworkAuth(HttpClient(Auth(application_id='application-id', private_key='private-key')))

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

vonage_network_auth-1.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vonage_network_auth-1.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file vonage_network_auth-1.0.2.tar.gz.

File metadata

  • Download URL: vonage_network_auth-1.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.4

File hashes

Hashes for vonage_network_auth-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3341fdb7017746e760d6ddca5186adf78bf18516f7989a01a47e363ad5c1f26c
MD5 57a197bda193f713bf36198fae99a678
BLAKE2b-256 7b41fa292f9c38475cdd1ecd577c7fef71585ae19ae71cae50d5823fb0304743

See more details on using hashes here.

File details

Details for the file vonage_network_auth-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for vonage_network_auth-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9ac38843051c4858d3723501fd86437f871c08e5d24d2a12bf7e38fb40415536
MD5 1def85586053682c601394e9fc0962d3
BLAKE2b-256 217971fcd7483cae7d43581e3819236692dd73435ac798555ff570790a9632b3

See more details on using hashes here.

Supported by

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