CryptoWallet

interface CryptoWallet

The CryptoWallet interface provides methods for authenticating a user using one of the supported Crypto Wallets (Ethereum or Solana)

Types

Link copied to clipboard
data class AuthenticateParameters @JvmOverloads constructor(val cryptoWalletAddress: String, val cryptoWalletType: CryptoWalletType, val signature: String, val sessionDurationMinutes: Int = 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

Complete a crypto wallet authentication flow

Link copied to clipboard
Link copied to clipboard