Official SDKs

Use the language reference for current package names and installation requirements. The eight existing SDK registry packages use version 2.1.1; the native Godot GDScript SDK uses 2.2.0. All nine follow the same licensing operations and trust boundaries. Platform limits and actual editor/export checks remain specific to each runtime.

SDK 2.1.1 offline migration: configure trusted tenant public keys independently of cache files. No pins means no cached authorization. Persisted offline helpers use the configured client and re-verify the original signed token on every read. Offline setup and migration.

Official SDKs

SDK Overview

The SDK application and Store tutorials show current installation commands and application fragments. Supply inputs and UI/host control flow from your app. Online validation alone does not enable offline grace, register a device or reserve a floating session. Configure trusted public keys for offline use; C++ installation needs its documented vcpkg registry and pinned baseline.

SDK request settings

A slow or unavailable license server must not leave your application waiting indefinitely. All nine SDKs default to a 10-second timeout for each attempt and two additional attempts for safe requests. The usual backoff is 250 milliseconds, then 500 milliseconds. This is not a single 10-second deadline for the complete operation: activation also fetches a nonce.

  • License validation, nonce/public-key retrieval and floating heartbeat may retry a network failure or HTTP 5xx response. Set the retry count to zero to disable these retries; the range is 0–5.
  • Floating checkout, activation POST, usage reporting, device removal and checkin are sent once. A lost response can follow a successful server change, so retrying these blindly can duplicate work.
  • HTTP 3xx/4xx responses and malformed successful responses do not retry. SDK-owned transports do not follow redirects, so configure the final HTTPS API address directly.

For validate/activate, branch on the server's error code when available. Otherwise HttpError means an HTTP rejection, InvalidResponse means malformed successful license/nonce evidence and RequestFailed means the network/5xx attempts were exhausted without a usable signed cache. Rejection or malformed successful evidence never becomes cached authorization. A network outage can use only a separately trusted, unexpired proof.

SDKConfiguration
.NETPermitCoreOptions.Timeout = TimeSpan.FromSeconds(10) and MaxRetries = 2
Node.jsUse the options-object constructor with timeoutMs: 10000, maxRetries: 2.
PythonPermitCoreClient(url, timeout=10, max_retries=2)
JavaThe extended constructor takes trusted keys, cache path, device ID, Duration.ofSeconds(10), then 2.
C++The constructor takes URL, 10 timeout seconds, cache toggle, trusted keys, cache path, device ID, then 2 retries.
PHPThe constructor takes URL, cache toggle, 10 timeout seconds, trusted keys, cache path, device ID, then 2 retries.
GoOptions.Timeout uses time.Duration. MaxRetries is an optional integer pointer: nil defaults to two; a pointer to zero disables retries.
UnityNamed constructor arguments timeoutSeconds: 10, maxRetries: 2; custom transports must honor the supplied timeout and preserve any received status.
GodotConstructor options "timeout_seconds": 10.0, "max_retries": 2. Native frame-polled HTTP keeps the game loop responsive, including while game time is paused.

Timeout mechanisms follow each runtime: Python uses socket I/O timeouts; Unity delegates to its transport. Caller cancellation is separate from retry policy. Unity's default adapter disables redirects; WebGL needs Unity 2021.3 or later for that protection and fails closed on older versions. Portable .NET tests do not certify an Editor, IL2CPP or browser build. Verify your actual target before shipping.

Install the published version for your language using the SDK installation references and follow the offline migration guide when upgrading from 1.x.

PermitCore provides official SDK packages for .NET, Node.js, Python, Java, C++, PHP, Go, Unity and Godot. Each SDK wraps the public REST API with idiomatic language bindings, automatic HWID fingerprinting and signed offline grace period caching. Floating checkout, heartbeat and checkin are available in all nine clients. Earlier Java/C++ releases use the REST endpoints for floating sessions.

SDK 2: All nine SDKs share the operations below. Their validate/activate calls treat HTTP rejections as authoritative: a 4xx response cannot become successful offline validation. Network/5xx outages can still use a verified signed cache within its deadline. Use version 2.1.1 for these examples and follow the offline migration guide when upgrading from 1.x.

In SDK 2.1.1, floating checkout/heartbeat failures return success=false with no token or expiry: RequestFailed for network/HTTP/invalid responses, or the server denial code with FloatingDenied as the default. Floating requests never use offline cache. TryCheckin (idiomatic spelling varies by language) confirms only HTTP 204; legacy checkin is best effort and relies on server expiry if release is unconfirmed. Only heartbeat uses safe bounded network/5xx retries; checkout and checkin are sent once.

SDK 2.1.1 provides device removal in every client: supply tenant slug, license key and activation ID. Only HTTP 204 confirms removal. OTP/account Portal protection still requires the customer Portal flow. Each client attempts to discard that key's grace cache; separately issued offline tokens retain their signed bounds. Usage reporting accepts an integer quantity (default 1; values below 1 normalize to 1) and optional nested metadata object. Only JSON recorded: true confirms recording. Neither operation uses offline fallback or automatic retries. A false result after a lost response does not prove no server-side change occurred.

Current capability matrix

All nine clients support validate, activate, product binding, feature checks, offline token verification and signed grace caches. The table covers the eight SDK 2.1.1 packages and Godot 2.2.0. Device removal and boolean usage reporting have wrappers in all nine. Shared transport defaults, safe retries and core error handling are covered below; optional DTO edges remain runtime-specific.

SDKFloating seatsMeter reportingDevice deactivation
.NETSDKSDKSDK
Node.jsSDKSDKSDK
PythonSDKSDKSDK
JavaSDKSDKSDK
C++SDKSDKSDK
PHPSDKSDKSDK
GoSDKSDKSDK
UnitySDKSDKSDK
GodotSDKSDKSDK

SDK means the operation has a wrapper in the published version listed above. Java/C++ retain legacy detailed meter results and add canonical boolean tryMeter/try_meter calls; other clients use MeterAsync/meter/Meter. All nine use 10-second defaults and two safe retries; follow the configuration guide for idiomatic options. Source ZIPs include test fixtures. .NET source/tests require the .NET 10 SDK even when your application targets .NET 6–9. Unity portable-core tests do not certify Editor or IL2CPP builds.

All SDKs are built on top of the public REST API. If your language isn't listed, use the REST API directly — the Admin snippet generator includes HTTP examples and a native Godot SDK example.
Want to see it running before you write any code? Download a full working demo app (.NET, Node.js, Python, PHP, Java, C++, Go, Unity or Godot) that gates itself behind a real license — try it in the Sandbox.