SDKs
Official OhAuthCat SDKs for servers, browsers and mobile apps, and what each one covers.
OhAuthCat SDKs come in two kinds: server SDKs for your backend, which use your secret API key, and client SDKs for browsers and mobile apps, which use only your publishable key.
Install a server SDK
Section titled “Install a server SDK”npm install @ohauthcat/nodepip install ohauthcatgo get ohauthcat.com/sdk-go@v0.0.2cargo add ohauthcat<dependency> <groupId>com.ohauthcat</groupId> <artifactId>ohauthcat</artifactId> <version>0.0.2</version></dependency>gem install ohauthcat -v 0.0.2composer require ohauthcat/ohauthcat-php:0.0.2dotnet add package OhAuthCat --version 0.0.2Which SDK covers what
Section titled “Which SDK covers what”Server SDKs use your secret API key. They cover every management API operation (generated from the OpenAPI description), the SSO helpers (authorization URL with PKCE, code exchange) and webhook verification.
| Language | Page | Status |
|---|---|---|
| Node.js | Node | Available |
| Python | Python | Available |
| Go | Go | Available |
| Rust | Rust | Available |
| Java | Java | Available |
| Ruby | Ruby | Available |
| PHP | PHP | Available |
| .NET | .NET | Available |
Client SDKs sign your end users in through the hosted login with your publishable key (pk_…). They never hold a secret key.
| Platform | Page | Status |
|---|---|---|
| Browser (JS) | JavaScript | Available |
| React | React | Available |
| iOS, macOS | iOS and macOS | Available |
| Android | Android | Available |
| React Native | React Native | Available |
Every SDK shares the same rules: errors carry the stable error code, writes send an Idempotency-Key, reads and keyed writes retry on 429 and 503 with backoff, and the SSO code exchange is never retried.