Banuba SDK
Loading...
Searching...
No Matches
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.
 
static std::shared_ptr< license_managerinstance ()
 Returns the instance used by Banuba SDK to check licence.
 

Detailed Description

This class incapsulates information about Client Token.

Definition at line 19 of file license_manager.hpp.

Constructor & Destructor Documentation

◆ ~license_manager()

virtual bnb::interfaces::license_manager::~license_manager ( )
inlinevirtual

Definition at line 21 of file license_manager.hpp.

21{}

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: