ethree-common / com.virgilsecurity.android.common / EThreeCore / findUser

findUser

@JvmOverloads fun findUser(identity: String, forceReload: Boolean = false): Result<Card>

Retrieves user Card from the Virgil Cloud or local storage if exists.

To start execution of the current function, please see Result description.

Parameters

identity - Identity to find.

forceReload - Will not use local cached card if true.

Exceptions

FindUsersException - (FindUsersException.Description.CARD_WAS_NOT_FOUND) If card duplicates was found or at least one card was not found.

Return
Card that corresponds to provided identity.