refreshCredentials

open fun refreshCredentials(credentialId: String, onComplete: (isActionDone: Boolean) -> Unit): Boolean

Handle action where the user requests to refresh an aggregated credential. This corresponds to InsightAction.Type.REFRESH_CREDENTIAL action type.

Return

true if the action will be handled, false otherwise

Parameters

credentialId

The id of the aggregated credential

onComplete

The lambda block to invoke to indicate if the action has completed successfully or not