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.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vonage_network_auth-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7ed4de3ad9ebb70119f096d5e1f2388205eb65e0db81fd6d80382c079d4451ff
MD5 40f847ef8b71c8321bce8a4d465dd757
BLAKE2b-256 42b4878241276e16fe034bd5a4fec1b1799731e7afd9d4218269407d3cba495d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vonage_network_auth-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea569ad0801dfedb08c5837584fd371ee48933dd97203d2d77c9d234b686c9f
MD5 05a9d743579175aa06f13e590488873c
BLAKE2b-256 f46361465aff965dc01d181b2d6400a5f0067213a700e7ae13ab73d3bb8a5abb

See more details on using hashes here.

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