10#include <bnb/utils/defs.hpp>
14namespace bnb {
namespace interfaces {
24 static std::shared_ptr<license_manager>
create(
const std::string & client_token);
30 static std::shared_ptr<license_manager>
instance();
This class incapsulates information about Client Token.
virtual std::string get_checksum() const =0
Returns hash of Client Token.
virtual license_status is_expired() const =0
Checks if Client Token is expired.
static std::shared_ptr< license_manager > create(const std::string &client_token)
Creates new LicenceManager.
virtual std::string get_json() const =0
Returns decoded content of Client Token.
static std::shared_ptr< license_manager > instance()
Returns the instance used by Banuba SDK to check licence.