AuthenticateParameters

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

Constructors

Link copied to clipboard
constructor(cryptoWalletAddress: String, cryptoWalletType: CryptoWalletType, signature: String, sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)

Properties

Link copied to clipboard

The address to authenticate.

Link copied to clipboard
val cryptoWalletType: CryptoWalletType

The type of wallet to authenticate. Currently ethereum and solana are supported.

Link copied to clipboard

the length of time in minutes that a session should be minted for

Link copied to clipboard

The signature from the message.