Docs

SDKs and examples

Drop Grej Labs into your app with a client SDK. Download the file, paste your app details and call login.

Py

Python

AuthlyGrej.py

A lightweight client for Python loaders, with Ed25519 signature checks, HWID locking and license registration built in.

example.py
from AuthlyGrej import api

authapp = api(
    name="YOUR_APP_NAME",
    ownerid="YOUR_OWNER_ID",
    version="1.0",
)

# Register or log in a user
authapp.login(username="user1", password="pass")
C#

C# / .NET

AuthlyGrej.cs · Ed25519.cs

A loader for WPF and WinForms apps with anti-tamper checks and secure file streaming. Include both files in your project.

Program.cs
using AuthlyGrej;

public static api AuthApp = new api(
    name: "YOUR_APP_NAME",
    ownerid: "YOUR_OWNER_ID",
    version: "1.0" // client version
);

AuthApp.init();
AuthApp.login("user1", "pass");
C++

C++

AuthlyGrej.cpp

A native SDK built on libcurl, with protection against DLL injection and debugger hooking.

main.cpp
#include "AuthlyGrej.h"

AuthlyGrej::api AuthApp(
    "YOUR_APP_NAME",
    "YOUR_OWNER_ID",
    "1.0"
);

AuthApp.init();
AuthApp.login("user1", "pass");
PHP

PHP

AuthlyGrej.php

A server-side wrapper for checking license validity or reseller limits from your backend scripts.

index.php
<?php
require_once 'AuthlyGrej.php';

$AuthApp = new api(
    "YOUR_APP_NAME",
    "YOUR_OWNER_ID",
    "1.0"
);

$AuthApp->init();
$AuthApp->login("user1", "pass");

Discord bot

bot.js · Seller plan

Generate keys, reset HWIDs, ban users and look up key details without leaving your Discord server. See the setup guide.

  • !setup [app_secret]Bind the server to an app
  • !gen [days] [qty] [hwid_lock]Generate keys
  • !reset [license_key]Reset HWID
  • !ban [license_key] [reason]Ban a key
  • !unban [license_key]Unban a key
  • !info [license_key]Key status