Skip to content

Documentation / expo / UseLoginWithSiwe

Interface: UseLoginWithSiwe

Properties

generateSiweMessage

generateSiweMessage: GenerateSiweMessage


loginWithSiwe

loginWithSiwe: (opts) => Promise<PrivyUser>

Parameters

opts: Object

opts.disableSignup?: boolean

opts.messageOverride?: string

Optional Sign-In With Ethereum message, only needed if the message differs from the one in memory that was cached in previous call to generateMessage

opts.signature: string

Signature generated against standard Sign-In With Ethereum message

Returns

Promise<PrivyUser>


state

state: SiweFlowState