Authentication with token generator

In the advanced authentication mode, you run your own authentication server with our samples and can control who can and cannot make a call against your DID.

An authentication token needs to be provided for initializing the voxbone.WebRTC object.

var voxrtc_config{

Then use it with the voxbone.WebRTC object.

  • username: This is your credentials username
  • expires: expiration date of the generated key (in seconds, epoch time)
  • key: this is a base64 representation of an HMAC SHA1 of expires:username, salted with your password.

Advanced Auth Token Generator Examples

Various example on how to generate the authentication token can be found on Github such like