getAccessToken

suspend fun TMAuthentication.getAccessToken(isMFXMarket: Boolean): String?

Fetches an access token for the specified market.

Return

The access token as a String, or null if no token is available.

Parameters

isMFXMarket

Indicates whether to fetch the token for the MFX market (true) or the HOST market (false).