Please wait while we validate your connection.
JoystAuth.hpp and paste it into your Visual Studio project directory.#include "JoystAuth.hpp" at the top of your code.
#include "JoystAuth.hpp"
#include <iostream>
int main() {
// 1. Initialize with your App Name and Master App Token
JoystAuth::api auth("MyApp", "YOUR_APP_TOKEN");
// 2. Run Dynamic Handshake
if (!auth.init()) {
std::cout << "Initialization failed: " << auth.response.message << "\n";
return 1;
}
// 3. User Login with Motherboard HWID Lock
if (auth.login("gamer123", "password123")) {
std::cout << "✅ " << auth.response.message << "\n";
std::cout << "Subscription Tier: " << auth.user_data.subscription << "\n";
} else {
std::cout << "❌ " << auth.response.message << "\n";
}
return 0;
}
joystauth.py into your project folder.pip install requests pycryptodomefrom joystauth import JoystAuth.
from joystauth import JoystAuth
# 1. Initialize with your App Name and Master App Token
app = JoystAuth("MyApp", "YOUR_APP_TOKEN")
# 2. Authenticate User
if app.login("username123", "password123"):
print("✅", app.response.message)
print(f"User: {app.user_data.username} | Plan: {app.user_data.subscription}")
else:
print("❌", app.response.message)
JoystAuth.cs and add it into your C# project.using JoystAuth; at the top.
using System;
using System.Threading.Tasks;
using JoystAuth;
class Program {
static async Task Main(string[] args) {
var auth = new api("MyApp", "YOUR_APP_TOKEN");
await auth.init();
if (await auth.login("gamer123", "password123")) {
Console.WriteLine($"✅ {auth.response.message}");
} else {
Console.WriteLine($"❌ {auth.response.message}");
}
}
}
JoystAuth.java and put it under package com.joyst.
import com.joyst.api;
public class Main {
public static void main(String[] args) {
api auth = new api("MyApp", "YOUR_APP_TOKEN");
auth.init();
if (auth.login("gamer123", "password123")) {
System.out.println("✅ " + auth.response.message);
} else {
System.out.println("❌ " + auth.response.message);
}
}
}
joystauth.js into your Node.js/Electron project.const JoystAuth = require('./joystauth');.
const JoystAuth = require('./joystauth');
const auth = new JoystAuth("MyApp", "YOUR_APP_TOKEN");
async function start() {
await auth.init();
const success = await auth.login("gamer123", "password123");
if (success) {
console.log("✅", auth.response.message);
} else {
console.log("❌", auth.response.message);
}
}
start();
joystauth.go into your Go package folder.net/http and native Windows SID HWID extraction).
package main
import (
"fmt"
"./joystauth"
)
func main() {
// 1. Initialize with App Name and Master App Token
auth := joystauth.New("MyApp", "YOUR_APP_TOKEN", "1.0")
// 2. Authenticate with Username & Password or Direct License Key
if auth.Login("gamer123", "password123") {
fmt.Println("✅ " + auth.Response.Message)
fmt.Printf("User: %s | Rank: %s\n", auth.UserData.Username, auth.UserData.Subscription)
} else {
fmt.Println("❌ " + auth.Response.Message)
}
}
tokio and reqwest to your Cargo.toml.src/main.rs in your crate.
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut auth = JoystAuth::new("MyApp", "YOUR_APP_TOKEN", "1.0", "https://joystauth.cc");
// Handshake
auth.init().await?;
// Authenticate
if auth.login("gamer123", "password123").await? {
println!("✅ Logged in as: {}", auth.user_data.username);
} else {
println!("❌ Login failed: {}", auth.response.message);
}
Ok(())
}
Integrate directly from any language (Rust, Go, Java, Swift) via a single unified endpoint: POST https://joystauth.cc/api/v1/client/gateway
POST /api/v1/client/gateway HTTP/1.1
Host: joystauth.cc
Content-Type: application/json
{
"type": "login",
"app_token": "sec_77918750...",
"username": "gamer123",
"pass": "password123",
"hwid": "S-1-5-21-3731800324-1696576068-1827139738-1001"
}