vonage-network-auth-1.0.2
توضیحات
Package for working with Network APIs that require Oauth2 in Python.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | vonage-network-auth-1.0.2 |
| نام | vonage-network-auth |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Vonage <devrel@vonage.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/vonage-network-auth/ |
| مجوز | - |
# 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](https://developer.vonage.com).
## Installation
Install from the Python Package Index with pip:
```bash
pip install vonage-network-auth
```
## Usage
### Create a `NetworkAuth` Object
```python
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')))
```
نیازمندی
| مقدار | نام |
|---|---|
| - | vonage-http-client>=1.5.0 |
| - | vonage-utils>=1.1.4 |
| - | pydantic>=2.9.2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl vonage-network-auth-1.0.2:
pip install vonage-network-auth-1.0.2.whl
نصب پکیج tar.gz vonage-network-auth-1.0.2:
pip install vonage-network-auth-1.0.2.tar.gz