2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hi,
The AWS IoT Device SDK for C++ v2 supports the process for custom authorizers. You can modify the pubsub sample to test. Essentially set websocket to true, and then change the protocol as referenced here. This should then pass the additional HTTP Headers to the Custom Authorizer. The additional authParam
headers are processed here.
I haven't tested with C++, so please do respond if you are successful or not.
Edit: The above method would be for request headers used by POST or GET. Query headers could also be used by modifying the URI while still changing the protocol name.
beantwortet vor 2 Jahren
0
Many thanks, Gavin! I have tried it and it is working well for me.
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren