feat: show HMAC and enforcement for identity validation for API inbox (#4807)

Display HMAC token in Settings of Inbox API and enable enforcement option. I have also adjusted the copy so that it can apply to all inbox types.

Fixes: #4804
This commit is contained in:
Simon
2022-07-07 02:47:39 +07:00
committed by GitHub
parent 3145492a26
commit 91d9584fcb
4 changed files with 27 additions and 3 deletions

View File

@@ -76,6 +76,7 @@ end
## API Channel Attributes
if resource.api?
json.hmac_token resource.channel.try(:hmac_token)
json.webhook_url resource.channel.try(:webhook_url)
json.inbox_identifier resource.channel.try(:identifier)
json.additional_attributes resource.channel.try(:additional_attributes)