Banuba SDK
Public Member Functions | Static Public Member Functions | List of all members
bnb::interfaces::license_manager Class Referenceabstract

This class incapsulates information about Client Token. More...

#include <license_manager.hpp>

Public Member Functions

virtual license_status is_expired () const =0
 Checks if Client Token is expired.
 
virtual std::string get_json () const =0
 Returns decoded content of Client Token.
 
virtual std::string get_checksum () const =0
 Returns hash of Client Token.
 

Static Public Member Functions

static std::shared_ptr< license_managercreate (const std::string &client_token)
 Creates new LicenceManager. More...
 
static std::shared_ptr< license_managerinstance ()
 Returns the instance used by Banuba SDK to check licence. More...
 

Detailed Description

This class incapsulates information about Client Token.

Definition at line 19 of file license_manager.hpp.

Member Function Documentation

◆ create()

static std::shared_ptr<license_manager> bnb::interfaces::license_manager::create ( const std::string &  client_token)
static

Creates new LicenceManager.

This metod won't change Banuba SDK internal state.

◆ instance()

static std::shared_ptr<license_manager> bnb::interfaces::license_manager::instance ( )
static

Returns the instance used by Banuba SDK to check licence.

This istance was created by UtilityManager.initialize.


The documentation for this class was generated from the following file: