AccessToken identity option should be required #595
Labels
status: help wanted
requesting help from the community
type: bug
bug in the library
type: community enhancement
feature request not on Twilio's roadmap
Issue Summary
When creating a new AccessToken object, "identity" is an optional parameter of the options object.
https://www.twilio.com/docs/libraries/reference/twilio-node/3.47.0/AccessToken.html
According to the documentation here (and my testing), all access tokens require the following:
I believe identity should be required in the constructor, since that is a breaking change the documentation should at least be updated
Technical details:
The text was updated successfully, but these errors were encountered: