s2s-connector
A general-purpose Service-to-Service (S2S) connector for obtaining bearer tokens for authentication in service-to-service communication.
Installation
Install the package via pip:
pip install s2s-connector
Usage
import asyncio
from s2s_connector import S2SConnector
async def main():
connector = S2SConnector(
auth_url="https://auth.example.com",
tenant="your_tenant",
client_id="your_client_id",
client_secret="your_client_secret"
)
token = await connector.get_token()
print(f"Access Token: {token}")
asyncio.run(main())
Metadata
Release files for s2s-connector 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| s2s_connector-0.0.3.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| s2s_connector-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.1 kB
Release files / s2s_connector-0.0.3.tar.gz
| Download URL | s2s_connector-0.0.3.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c36ec51025f079a0455063d9014294bcb01289bc8e20586735d3aab4f31a0738
|
|
BLAKE2b-256 checksum How to use checksums |
d2093a467e7c6e42b6beffe6005fde652f15d7f9e6db82cf7d207216084c983e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/24.0.0
|
Release files / s2s_connector-0.0.3-py3-none-any.whl
| Download URL | s2s_connector-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
289ca04712b6f5feacaa1947cc62d003b4135c552cb17cd03027a32455b32712
|
|
BLAKE2b-256 checksum How to use checksums |
f02153a08093e84440ff979fdee3eede1d2000894558f9243db39a29aba03c75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/24.0.0
|