WidgetURLFormatter

interface WidgetURLFormatter

Functions

Link copied to clipboard
abstract suspend fun format(    baseUrl: String,     params: Map<String, String> = emptyMap(),     forceFetchScalarToken: Boolean = false,     bypassWhitelist: Boolean): String

Takes care of fetching a scalar token if required and build the final url. This methods can throw, you should take care of handling failure.