Package com.stytch.sdk.consumer.crypto
Class CryptoWallet.AuthenticateParameters
-
- All Implemented Interfaces:
public final class CryptoWallet.AuthenticateParametersA data class wrapping the parameters needed to complete a crypto wallet authentication flow
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcryptoWalletAddressprivate final CryptoWalletTypecryptoWalletTypeprivate final Stringsignatureprivate final IntegersessionDurationMinutes
-
Constructor Summary
Constructors Constructor Description CryptoWallet.AuthenticateParameters(String cryptoWalletAddress, CryptoWalletType cryptoWalletType, String signature, Integer sessionDurationMinutes)CryptoWallet.AuthenticateParameters(String cryptoWalletAddress, CryptoWalletType cryptoWalletType, String signature)
-
Method Summary
Modifier and Type Method Description final StringgetCryptoWalletAddress()The address to authenticate. final CryptoWalletTypegetCryptoWalletType()The type of wallet to authenticate. final StringgetSignature()The signature from the message. final IntegergetSessionDurationMinutes()the length of time in minutes that a session should be minted for -
-
Method Detail
-
getCryptoWalletAddress
final String getCryptoWalletAddress()
The address to authenticate.
-
getCryptoWalletType
final CryptoWalletType getCryptoWalletType()
The type of wallet to authenticate. Currently
ethereumandsolanaare supported.
-
getSignature
final String getSignature()
The signature from the message.
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
the length of time in minutes that a session should be minted for
-
-
-
-