Giter Club home page Giter Club logo

plugin-licensor-juce-auth's Introduction

Plugin-Licensor-JUCE-Auth

C++ client side library for verifying license codes with Plugin Licensor

This needs testing

This branch has code that was originally copied from JUCE's Traktion Marketplace Status, but it doesn't work. The next test will be to implement the header file I made by using a structure similar to the OnlineUnlockStatusTutorial_02.h

The getStateAndSaveState code might not be required, but I don't know for sure. I don't even know if it needs to be implemented.

I have not gotten the client-side code to work, but the back end is working, and readReplyFromWebserver() appears to work with the parameters that are in the code. My code is somewhat documented enough so that you can understand what I'm trying to do with it, but I will restate part of it here.

The Server Response

  • check value

    • The server, on success, will respond in the same format that JUCE uses, but with 2 extra details. Inside the encrypted key data is a check value, that tells when the client should check back with the server to verify that the license is still valid. It will do this for all license types, even non-expiring licenses. This is to prevent offline licenses from being cracked as easily, but no client-side software is immune from cracking.

    • This check value will also allow for users to deactivate machines on their licenses from your website. That part isn't implemented yet, but it will be first available for Wordpress sites. It will probably also allow them to regenerate their license code, removing all online machines from the license. I could make it attempt to remove offline machines too, but those licenses still don't expire if they only use the software offline... so I might give developers an option about how that functionality works.

  • licenseType value

    • The server also responds with a licenseType value inside the encrypted key data. If you want to make your Trial mode have less functionalities, you will be able to determine if the user is on the Trial license.

Something to look out for

There is a potential issue with the check value. If the user is not connected to the internet when they open their unlocked plugin, and if it sends a request to the server but can't connect, then it should not deactivate their license... but it might. So that needs to be tested.

plugin-licensor-juce-auth's People

Contributors

nstilt1 avatar

Stargazers

Tatsuya Shiozawa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.