Skip to Content
API referenceComponentsverifyMiniSession()

@tuwaio/quasar-sdk


verifyMiniSession()

verifyMiniSession(params): Promise<boolean>

Defined in: packages/quasar-sdk/src/utils/auth.ts:148 

Verifies a Mini-Session signature for authenticity and freshness.

Performs cryptographic verification against the provided wallet address and ensures the signature hasn’t expired according to the maxAge parameter.

Parameters

params

VerifySessionParams

Verification data including signature and timestamp.

Returns

Promise<boolean>

A promise resolving to true if the session is valid.

Last updated on