aws-samples / aws-iot-securetunneling-localproxy

AWS Iot Secure Tunneling local proxy reference C++ implementation
https://docs.aws.amazon.com/iot/latest/developerguide/what-is-secure-tunneling.html
Apache License 2.0
73 stars 70 forks source link

Add option for client-token header #92

Closed shangabl closed 2 years ago

shangabl commented 2 years ago

Motivation

https://github.com/aws-samples/aws-iot-securetunneling-localproxy/blob/eb951de124cabfc2f7d373407556896ac805c935/V2WebSocketProtocolGuide.md?plain=1#L38-L46

Modifications

Change summary

Added support for client-token header

Testing

Added a unit test Manually tested by connecting to tunnel repeatedly with same access token.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.