Is Twilio Capability Token Generation Required for Twilio Servers?

Does the Twilio Capability Token require a request to the Twilio server?

If I understand correctly, the creation of the Twilio Capability Token involves some kind of encryption process that takes place exclusively on my own server. When I call the library to create it, it doesn't make a call to the Twilio servers, right?

If it is a pure encryption process, it is an encryption process that was "slow". If so, how slow?

+3


source to share


1 answer


I really believe that creating a token according to the C # Api, everything happens on your own server. This process creates a Json Web Token, and this is what is returned from the GenerateToken call. I don't see anything that could cause the above call to be slow.

I know from my server side code that this process is actually blindingly fast, on our production servers, when a token expires for a Twilio client, it requests a new one from the server and then reinitializes itself, this process takes less than 2 seconds to complete. and the client will again be able to either make or receive calls, depending on the capabilities allowed.



Perhaps if you could tell more about what you experience as being slow, there could be more help?

Hope this helps.

+1


source







All Articles