SudoIdentityVerificationClient

Interface encapsulating a library for interacting with the Sudo Platform Identity Verification service.

Inheritors

Types

Link copied to clipboard
class Builder(context: Context, sudoUserClient: SudoUserClient)

Builder used to construct SudoIdentityVerificationClient.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val version: String

Checksums for each file are generated and are used to create a checksum that is used when publishing to maven central. In order to retry a failed publish without needing to change any functionality, we need a way to generate a different checksum for the source code. We can change the value of this property which will generate a different checksum for publishing and allow us to retry. The value of version doesn't need to be kept up-to-date with the version of the code.

Functions

Link copied to clipboard

Attempts to capture an identity document and verify identity using the information in the provided identity documents.

Link copied to clipboard

Checks the identity verification status of the currently signed in user.

Link copied to clipboard
abstract suspend fun isFaceImageRequired(): Boolean

Retrieves a flag indicating if face image must be submitted with identity documents.

Link copied to clipboard
abstract suspend fun listSupportedCountries(): List<String>

Retrieves the list of supported countries for identity verification.

Link copied to clipboard
abstract fun reset()

Reset any internal state and cached content.

Link copied to clipboard

Verifies an identity against the known public records and returns a result indicating whether or not the identity details provided was verified with enough confidence to grant the user access to Sudo Platform functions such as provisioning a virtual card.

Link copied to clipboard

Attempts to verify an identity based on provided identity documents.