Php username OR Vistor name like

i am looking like i am using system a PHP so i need to identify my customer there name and phone number like that

Hello please send us your registered account email at [email protected] and we will give you all the necessary instructions + JWT code. We have a Javascript API for user authentication:

        // open widget window

        // close widget window

        // toggle widget window

        // customer authorization
        LiveCaller.$emit('user.login', 'JWT Token Here');

        // customer profile editing
        LiveCaller.$emit('user.update', 'JWT Token Here');

        // change language after widget load
        LiveCaller.$emit('app.locale.update', 'ka');

        // change language before widget load
        LiveCaller.config.merge({app: {locale: 'ka'}});

        // Customer logout / session regeneration

        // Listen to the widget window open event
        LiveCaller.$on('', () => {


        // Listen to the widget window close event
        LiveCaller.$on('ui.widget.close', () => {


for authentication and profile editing is used JWT
verification algorithm HS256
token lifetime is 15 minutes( can be changed from widget settings )
necessary payload information:
sub - unique id of the customer
iat - token generation timestamp ( UNIX timestamp seconds)

JWT Header example:

  "alg": "HS256",
  "typ": "JWT"

Edit Customer JWT Payload example:

  "sub": "12ba81b2-c1fe-479b-8b4a-09fecb02a3d6",
  "name": "John Doe",
  "email": "[email protected]",
  "mobile": "995000123456",
  "iat": 1565610612