toSession()
toSession(
parsed):SiwxSession
Defined in: siwx-server/src/types.ts:275
Converts a verified CAIP-122 message into a SiwxSession: keeps address, chainId, domain, nonce,
issuedAt and expirationTime. Pure function.
Parameters
parsed
The verified message, for example result.data of verifySiwxPayload.
Returns
The session object to store or sign.
Last updated on