Metadata-Version: 2.1
Name: integrationos-authkit
Version: 0.1.0
Summary: Secure token generation for IntegrationOS AuthKit in Python
Home-page: https://github.com/integration-os/authkit-python
Author: IntegrationOS
Author-email: dev@integrationos.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests >=2.25.1

# IntegrationOS AuthKit SDK for Python

Secure token generation for [IntegrationOS AuthKit](https://docs.integrationos.com/docs/authkit)
using [PyPI](https://pypi.org/).

## Installation

You can install the IntegrationOS AuthKit SDK using pip:

```
pip install integrationos-authkit
```

## Usage

Here's a quick example of how to use the SDK:

```python
from integrationos import AuthKit

# Initialize the AuthKit with your secret
auth_kit = AuthKit("your_secret_here")

# Create an embed token
payload = {
    "group": "your_group",
    "label": "your_label",
    # Add other required parameters
}

result = auth_kit.create(payload)
print(result)
```

You'll want to switch out the API Key for your own, which will later tell your frontend which integrations you'd like to
make available to your users.

You'll also want to populate the `Group` and `Label` fields depending on how you want to organize and query your users'
connected accounts. The Group is especially important as it's used to generate the
unique [Connection Key](https://docs.integrationos.com/docs/setup) for the user once they successfully connect an
account.

## Full Documentation

Please refer to the official [IntegrationOS AuthKit](https://docs.integrationos.com/docs/authkit) docs for a more
holistic understanding of IntegrationOS AuthKit.
