#
VerificationManager
kycdao-mobile - v0.1.0 / VerificationManager
A class used for verification related tasks, like querying verification status for different wallets or creating verification sessions
#
Table of contents
#
Methods
createSession hasValidToken configure getInstance
#
Methods
#
createSession
▸ createSession(walletAddress
, walletSession
): Promise
<VerificationSession
>
Creates a VerificationSession which is used for implementing the verification flow
#
Parameters
#
Returns
Promise
<VerificationSession
>
The VerificationSession object
#
Defined in
Core/VerificationManager.tsx:64
#
hasValidToken
▸ hasValidToken(verificationType
, walletAddress
, chainId
): Promise
<boolean
>
Checks on-chain whether the wallet has a valid token for the verification type
#
Parameters
#
Returns
Promise
<boolean
>
True, when the wallet has a valid token for the selected verification type on the wallet session’s network
#
Defined in
Core/VerificationManager.tsx:94
▸ hasValidToken(verificationType
, walletAddress
, walletSession
): Promise
<boolean
>
Checks on-chain whether the wallet has a valid token for the verification type
#
Parameters
#
Returns
Promise
<boolean
>
True, when the wallet has a valid token for the selected verification type on the wallet session’s network
#
Defined in
Core/VerificationManager.tsx:104
#
configure
▸ Static
configure(configuration
): Promise
<void
>
Initializes the SDK with a configuration
Important
You have to provide a configuration for the SDK before using it. Configuration can only be set once per app launch!
#
Parameters
#
Returns
Promise
<void
>
#
Defined in
Core/VerificationManager.tsx:53
#
getInstance
▸ Static
getInstance(): VerificationManager
VerificationManager singleton instance
#
Returns
The VerificationManager instance
#
Defined in
Core/VerificationManager.tsx:36