Response signature model (Ed25519)
AuthForge signs/auth/validate and /auth/heartbeat success responses with a per-app Ed25519 private key.
- SDKs verify
signatureagainst the exact base64payloadstring using your app’spublicKey. appSecretauthenticates validate requests, but is not used for response signature verification.- Response shape includes
keyIdso clients can identify which signing key version produced the signature.
Success response shape
Tamper self-ban endpoint (public auth)
When your app detects tampering (anti-debug, runtime integrity checks, patch detection), you can call:Trigger a self-ban request against the public auth host (
https://auth.authforge.cc).Request modes
/auth/selfban supports two request styles:
- Pre-session:
appId,appSecret,licenseKey,hwid,nonce - Post-session:
appId,sessionToken,hwid
Critical safety rule
This prevents accidentally revoking arbitrary or attacker-supplied keys before the key is proven by a valid authenticated session.Example (pre-session, blacklist only)
Example (post-session, full lockout)
Get security config
Retrieve the current blacklist and whitelist configuration for an application.
Path parameters
Example
Response (200)
Update security config
Replace the security configuration. Only included fields are updated; omitted lists remain unchanged.
Request body
Example
Response (200)
Errors
Clearing a list
Set the list to an empty array:Add to blacklist
Add a single HWID or IP to the blacklist.
Request body
Example
Response (200)
Remove from blacklist
Remove a single HWID or IP from the blacklist.
Request body
Example
Response (200)
Add to whitelist
Add a single HWID or IP to the whitelist. Enabling a whitelist restricts authentication to only listed entries.
Request body
Example
Response (200)
Remove from whitelist
Remove a single HWID or IP from the whitelist. If the whitelist becomes empty, allowlist mode is deactivated.
Request body
Example
Response (200)
Limits
Evaluation order
During authentication, lists are checked in this order:- IP blacklist (reject if matched)
- IP whitelist (reject if list is non-empty and IP not listed)
- HWID blacklist (reject if matched)
- HWID whitelist (reject if list is non-empty and HWID not listed)