Authorise

Authorises the key and returns the token for the client app to connect to the video.

JavaScript library method

patientportal.telemedicine.authorise({key: <key>});

HTTP Method

Verb URL
GET /patientportalapi/telemedicine/authorise

URL Parameters

Parameter Type Description
key string Key to verify and generate token against. This key is part of the URL provided to access telemedicine conference.
username string The name of the participant.

Returns

AuthorizeTelemedicineData

Remarks

Authorises the user’s access to telemedicine conference and returns the token that could be used to lunch the video app.

Twilio integration

Currently the Meddbase application supports Twilio provider only. Twilio provides a multi-party video application to demonstrate how you could built a solution with Twilio’s Programmable Video JS SDK, Twilio’s Conversations JS SDK, and Create React App.

The authorise method generates an access token (in JWT format) that is used to connect to a room. A step-by-step guide how to join to a room could be found here.