Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified x64/library_x64.lib
Binary file not shown.
11 changes: 6 additions & 5 deletions x64/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ using namespace KeyAuth;

// copy and paste from https://keyauth.cc/app/ and replace these string variables
// Please watch tutorial HERE https://www.youtube.com/watch?v=5x4YkTmFH-U
std::string name = skCrypt("name").decrypt(); // App name
std::string ownerid = skCrypt("ownerid").decrypt(); // Account ID
std::string name = skCrypt("").decrypt(); // App name
std::string ownerid = skCrypt("").decrypt(); // Account ID
std::string version = skCrypt("1.0").decrypt(); // Application version. Used for automatic downloads see video here https://www.youtube.com/watch?v=kW195PLCBKs
std::string url = skCrypt("https://keyauth.win/api/1.3/").decrypt(); // change if using KeyAuth custom domains feature
std::string path = skCrypt("").decrypt(); // (OPTIONAL) see tutorial here https://www.youtube.com/watch?v=I9rxt821gMk&t=1s


api KeyAuthApp(name, ownerid, version, url, path);

int main()
Expand Down Expand Up @@ -85,7 +84,8 @@ int main()
std::cout << skCrypt("\n Enter password: ");
std::cin >> password;
std::cout << skCrypt("\n Enter 2fa code if applicable: ");
std::cin >> TfaCode;
std::cin.ignore();
std::getline(std::cin, TfaCode);
KeyAuthApp.login(username, password, TfaCode);
break;
case 2:
Expand All @@ -108,7 +108,8 @@ int main()
std::cout << skCrypt("\n Enter license: ");
std::cin >> key;
std::cout << skCrypt("\n Enter 2fa code if applicable: ");
std::cin >> TfaCode;
std::cin.ignore();
std::getline(std::cin, TfaCode);
KeyAuthApp.license(key, TfaCode);
break;
default:
Expand Down