CryptoWallet

interface CryptoWallet

Types

Link copied to clipboard
data class AuthenticateParameters(val cryptoWalletAddress: String, val cryptoWalletType: CryptoWalletType, val signature: String, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

A data class wrapping the parameters needed to complete a crypto wallet authentication flow

Link copied to clipboard
data class AuthenticateStartParameters(val cryptoWalletAddress: String, val cryptoWalletType: CryptoWalletType)

A data class wrapping the parameters needed to begin a crypto wallet authentication flow

Functions

Link copied to clipboard
abstract fun authenticate(parameters: CryptoWallet.AuthenticateParameters, callback: (AuthResponse) -> Unit)

Complete a crypto wallet authentication flow

Link copied to clipboard