ClientTokenProvider

fun interface ClientTokenProvider

Implement this interface to provide an asynchronous way for BraintreeClient to fetch a client token from your server when it is needed.

Functions

Link copied to clipboard
abstract fun getClientToken(callback: ClientTokenCallback)

Method used by BraintreeClient to fetch a client token.