Metadata-Version: 2.4
Name: stormx-auth
Version: 1.2.3
Summary: StormX KeyAuth Windows client SDK
Author: AntonyZ
License-Expression: MIT
Project-URL: Homepage, https://github.com/stormx/keyauth
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Security
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.31.0
Requires-Dist: websocket-client>=1.7.0
Requires-Dist: cryptography>=42.0.0
Requires-Dist: PyNaCl>=1.5.0
Requires-Dist: psutil>=5.9.0
Requires-Dist: synthra>=0.1.2

# stormx-auth

Windows-only client SDK for [StormX KeyAuth](https://github.com/stormx/keyauth).

## Install

```bash
pip install stormx-auth
```

**Windows only.** Requires Python 3.10+.

## Usage

```python
from stormx_auth import AuthClient

auth = AuthClient("https://auth.antonyz.dev/", "STX-MYAPP-XXXXXXXXXXXXXXXX")
if auth.authenticate():
    print(auth.user_info())
    auth.heartbeat()
auth.close()
```

The SDK parses your license key (`PREFIX-SLUG-...`), resolves the product version and
server public keys automatically, then authenticates over encrypted WebSocket.

Discord linking is required and opens the Discord desktop app on Windows when installed.

## Security

- Open-source Python package (readable source).
- Only **public** server keys are embedded at build time — never private keys.
- All authorization checks run **server-side**.
