NabtoTokenGenerator.create()

DESCRIPTION

Create a NabtoTokenGenerator.

DECLARATION

static nabto::webrtc::SignalingTokenGeneratorPtr create(
      std::string productId, std::string deviceId, std::string privateKey)

PARAMETERS

productId:
The Product ID to make tokens for.
deviceId:
The Device ID to make tokens for.
privateKey:
The private key (in PEM format) to use to sign the tokens.

RETURNS

SignalingTokenGeneratorPtr pointing to the created object.