getToken

actual suspend fun getToken(forceRefresh: Boolean): String(source)
expect suspend fun getToken(forceRefresh: Boolean): String(source)

Returns a valid authentication token for the Firebase installation. Generates a new token if one doesn't exist, is expired, or is about to expire.

Should only be called if the Firebase installation is registered.

Parameters

forceRefresh

Options to get an auth token either by force refreshing or not.

actual suspend fun getToken(forceRefresh: Boolean): String(source)
actual suspend fun getToken(forceRefresh: Boolean): String(source)
actual suspend fun getToken(forceRefresh: Boolean): String(source)