FetchClientSecret

fun interface FetchClientSecret

Lambda to fetch the Connect SDK client secret from your server. Implement invoke to provide your client secret to the Connect SDK.

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(): String?

Called when the Connect SDK needs a client secret from your server. Implement a secure network call to your server here to fetch your client secret. If you're unable to provide a client secret for any reason, return null.