refreshToken

fun refreshToken(instanceId: String, instanceKey: String, accessToken: String, refreshToken: String): Task<RefreshResult>

Refreshes accessToken when it expires.

Return

Task parametrised with RefreshResult

Parameters

instanceId

(required)

instanceKey

(required)

accessToken

(required)

refreshToken

(required)