ApinaAuth Documentation
Complete integration guide for secure software licensing with HWID binding, VPN detection, and file distribution.
Introduction
ApinaAuth is a comprehensive software licensing system that helps developers monetize their applications with advanced security features.
Key Features
- HWID Binding - Prevent key sharing with automatic hardware fingerprinting
- VPN Detection - Block users connecting through VPNs, proxies, or Tor
- Multi-Language Support - SDKs for C++, C#, Python, JavaScript, Go, and PHP
- Secure File Distribution - Host files with integrity verification
- Real-time Analytics - Discord webhooks and comprehensive logging
- Project Management - Organize multiple software products
Quick Start Guide
Get ApinaAuth integrated into your application in 3 simple steps.
Step 1: Create Your Project
Log into your dashboard and create a new project for your software.
Step 2: Generate License Keys
Create license keys with custom durations and settings:
Duration | Use Case | Example |
---|---|---|
Minutes | Trial periods | 30 minutes trial |
Hours | Short-term access | 24 hours premium |
Days | Weekly subscriptions | 7 days access |
Months | Monthly billing | 1 month pro |
Years | Lifetime licenses | 1 year unlimited |
Step 3: Add Authentication
Integrate license verification into your application using our REST API or SDKs.
Authentication Flow
ApinaAuth uses multi-factor authentication to validate projects, license keys, hardware IDs, and software versions.
Required Parameters
Parameter | Type | Description |
---|---|---|
project |
string | Your project identifier |
key |
string | Valid license key |
hwid |
string | Hardware identifier |
version |
string | Software version |
API Endpoints
All endpoints use HTTP POST requests and return descriptive status codes.
License Verification
/verify
Authenticate a user and verify their license is valid and properly bound.
Common Error Responses
Status | Response | Meaning |
---|---|---|
403 | Invalid key | License key not found |
403 | Key expired | License has expired |
403 | Invalid HWID | Hardware ID mismatch |
403 | Version mismatch | Software version incorrect |
403 | VPN usage is not allowed | User blocked for VPN usage |
Check License Time
/check-license-time
Get detailed information about license expiration and remaining time.
File Download
/download/:fileId
Download files securely after license verification. Files are protected and only accessible to authenticated users.
C++ Integration
Simple and lightweight integration for C++ applications.
C# Integration
Full async support for .NET applications with comprehensive error handling.
Python Integration
Clean and pythonic integration with automatic HWID detection.
HWID Binding
Hardware ID binding prevents license key sharing by tying each license to a specific device.
How It Works
- First Use: User provides license key and hardware ID
- Automatic Binding: HWID is permanently bound to the license
- Future Access: Only the bound HWID can use the license
- Admin Control: Administrators can reset bindings when needed
VPN Detection
Automatically detect and block users connecting through VPNs, proxies, or Tor networks.
Detection Methods
- VPN Services: Commercial VPN providers
- Proxy Servers: HTTP/HTTPS/SOCKS proxies
- Tor Network: Tor exit nodes
- Anonymous Relays: Other relay networks
File Distribution
Host and distribute files securely to licensed users with integrity verification.
Security Features
- Access Control: Only authenticated users can download files
- SHA256 Integrity: All files protected with cryptographic hashing
- Secure Storage: Files stored with UUID identifiers
- Original Names: Files served with their original filenames