AdaSupport / ios-sdk

EmbedFramework is a small iOS SDK that is used to embed the Ada Chat bot into native iOS applications.
MIT License
4 stars 20 forks source link

Zendesk Chatter Auth Callback #9

Closed NicHaley closed 4 years ago

NicHaley commented 4 years ago

Add support for Zendesk Chatter Auth.

This works by leveraging authCallback in the Embed script. If the zendeskAuthCallback is provided, the SDK will use the authCallback setting in Embed. When the callback is triggered (in JavaScript), a Swift event handler is triggered, which will execute the zendeskAuthCallback. A token will then be passed back.