Skip to content

Commit de228e1

Browse files
Merge pull request #61 from Shxde1/main
x86 example, token feature, redaction
2 parents af81105 + 088d516 commit de228e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+59170
-12
lines changed

auth.hpp renamed to x64/auth.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ namespace KeyAuth {
1414
class api {
1515
public:
1616

17-
std::string name, ownerid, secret, version, url;
17+
std::string name, ownerid, secret, version, url, path;
1818

19-
api(std::string name, std::string ownerid, std::string secret, std::string version, std::string url) : name(name), ownerid(ownerid), secret(secret), version(version), url(url) {}
19+
api(std::string name, std::string ownerid, std::string secret, std::string version, std::string url, std::string path) : name(name), ownerid(ownerid), secret(secret), version(version), url(url), path(path) {}
2020

2121
void ban(std::string reason = "");
2222
void init();
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup />
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<ShowAllFiles>true</ShowAllFiles>
5+
</PropertyGroup>
46
</Project>

json.hpp renamed to x64/json.hpp

File renamed without changes.
File renamed without changes.
Binary file not shown.

main.cpp renamed to x64/main.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ const std::string compilation_time = (std::string)skCrypt(__TIME__);
1111

1212
using namespace KeyAuth;
1313

14-
auto name = skCrypt(""); // application name. right above the blurred text aka the secret on the licenses tab among other tabs
15-
auto ownerid = skCrypt(""); // ownerid, found in account settings. click your profile picture on top right of dashboard and then account settings.
16-
auto secret = skCrypt(""); // app secret, the blurred text on licenses tab and other tabs
17-
auto version = skCrypt("1.0"); // leave alone unless you've changed version on website
18-
auto url = skCrypt("https://keyauth.win/api/1.2/"); // change if you're self-hosting
19-
20-
api KeyAuthApp(name.decrypt(), ownerid.decrypt(), secret.decrypt(), version.decrypt(), url.decrypt());
14+
std::string name = skCrypt("name").decrypt();
15+
std::string ownerid = skCrypt("ownerid").decrypt();
16+
std::string secret = skCrypt("secret").decrypt();
17+
std::string version = skCrypt("1.0").decrypt();
18+
std::string url = skCrypt("https://keyauth.win/api/1.2/").decrypt(); // change if you're self-hosting
19+
std::string path = skCrypt("path (optional)").decrypt();
20+
21+
api KeyAuthApp(name, ownerid, secret, version, url, path);
2122

2223
int main()
2324
{

skStr.h renamed to x64/skStr.h

File renamed without changes.

0 commit comments

Comments
 (0)