You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alt="Click here to see Installation Video!" width="500" height="250" border="10" /></a>
9
9
10
-
## Anti-DDoS Security
10
+
#### **Bugs**
11
+
12
+
If the default example not added to your software isn't functioning how it should, please join the Discord server https://discord.gg/keyauth and submit the issue in the `#bugs` channel.
13
+
14
+
However, we do **NOT** provide support for adding KeyAuth to your project. If you can't figure this out you should use Google or YouTube to learn more about the programming language you want to sell a program in.
15
+
16
+
#### Anti-DDoS Security
11
17
12
18
Please add a Cloudflare firewall rule to show challenge to users, then set challenge passage to 1 year so they don't have to frequently complete challenge
KeyAuth is an Open source authentication system with cloud hosting plans as well. Client SDKs available for C++, C#, Python, Rust, PHP, JS and VB.NET.
20
-
KeyAuth several unique features such as memory streaming, webhook function where you can send requests to API without leaking the API, discord webhook notifications, ban the user securely through the application at your discretion.
21
-
Feel free to join https://discord.gg/keyauth if you have questions or suggestions.
25
+
KeyAuth is an Open source authentication system with cloud hosting plans as well. Client SDKs available for [C#](https://github.com/KeyAuth/KeyAuth-CSHARP-Example), [C++](https://github.com/KeyAuth/KeyAuth-CPP-Example), [Python](https://github.com/KeyAuth/KeyAuth-Python-Example), [Java](https://github.com/SprayDown/KeyAuth-JAVA-api), [JavaScript](https://github.com/mazkdevf/KeyAuth-JS-Example), [VB.NET](https://github.com/KeyAuth/KeyAuth-VB-Example), [PHP](https://github.com/KeyAuth/KeyAuth-PHP-Example), [Rust](https://github.com/KeyAuth/KeyAuth-Rust-Example), [Go](https://github.com/mazkdevf/KeyAuth-Go-Example), [Lua](https://github.com/mazkdevf/KeyAuth-Lua-Examples), [Ruby](https://github.com/mazkdevf/KeyAuth-Ruby-Example), and [Perl](https://github.com/mazkdevf/KeyAuth-Perl-Example). KeyAuth has several unique features such as memory streaming, webhook function where you can send requests to API without leaking the API, discord webhook notifications, ban the user securely through the application at your discretion. Feel free to join https://discord.gg/keyauth if you have questions or suggestions.
22
26
23
-
**`KeyAuthApp` instance definition**
27
+
#### **`KeyAuthApp` instance definition**
24
28
25
29
Visit and select your application, then click on the **PHP** tab
26
30
@@ -30,15 +34,15 @@ It'll provide you with the code which you should replace with in the `Program.cs
30
34
$KeyAuthApp = new KeyAuth\api("appNameHere", "keyAuthOwnerIDHere");
31
35
```
32
36
33
-
**Initialize application**
37
+
#### **Initialize application**
34
38
35
39
You must call this function prior to using any other KeyAuth function. Otherwise the other KeyAuth function won't work.
if ($KeyAuthApp->login("userNameHere", "passWordHere")) {
54
58
// send user to dashboard or wherever you prefer
55
59
}
56
60
```
57
61
58
-
**Register with username/password/key**
62
+
#### **Register with username/password/key**
59
63
60
64
```php
61
65
if ($KeyAuthApp->register("userNameHere", "passWordHere", "licenseKeyHere")) {
62
66
// send user to dashboard or wherever you prefer
63
67
}
64
68
```
65
69
66
-
**Upgrade user username/key**
70
+
#### **Upgrade user username/key**
67
71
68
72
Used so the user can add extra time to their account by claiming new key.
69
73
@@ -77,7 +81,7 @@ if ($KeyAuthApp->upgrade("userNameHere", "licenseKeyHere")) {
77
81
}
78
82
```
79
83
80
-
**Login with just license key**
84
+
#### **Login with just license key**
81
85
82
86
Users can use this function if their license key has never been used before, and if it has been used before. So if you plan to just allow users to use keys, you can remove the login and register functions from your code.
83
87
@@ -87,7 +91,7 @@ if ($KeyAuthApp->license("licenseKeyHere")) {
If you want to wall off parts of your app to only certain users, you can have multiple subscriptions with different names. Then, when you create licenses that correspond to the level of that subscription, users who use those licenses will get a subscription with the name of the subscription that corresponds to the level of the license key they used. The `SubExist` function is in the `Program.cs` file
107
111
@@ -114,7 +118,7 @@ else {
114
118
}
115
119
```
116
120
117
-
**Application variables**
121
+
#### **Application variables**
118
122
119
123
A string that is kept on the server-side of KeyAuth. On the dashboard you can choose for each variable to be authenticated (only logged in users can access), or not authenticated (any user can access before login). These are global and static for all users, unlike User Variables which will be dicussed below this section.
User variables are strings kept on the server-side of KeyAuth. They are specific to users. They can be set on Dashboard in the Users tab, via SellerAPI, or via your loader using the code below. `discord` is the user variable name you fetch the user variable by. `test#0001` is the variable data you get when fetching the user variable.
Can be used to log data. Good for anti-debug alerts and maybe error debugging. If you set Discord webhook in the app settings of the Dashboard, it will send log messages to your Discord webhook rather than store them on site. It's recommended that you set Discord webhook, as logs on site may be deleted after a couple months of their creation.
0 commit comments