getUserIdOrThrow

abstract suspend fun getUserIdOrThrow(): String(source)

Returns the stored profile ID, rejecting an empty value.

This does not check Firebase Auth or refresh an expired session.

Return

Stored user ID.

Throws

if the stored ID is empty.