Skip to Content
API referenceSatellite Siwe Next AuthSrcInterfacesSiweApiHooks

@tuwaio/satellite-connect-monorepo


SiweApiHooks

Defined in: packages/satellite-siwe-next-auth/src/types.ts:46 

Interface for the custom SIWE API hooks block provided by the user.

Properties

afterLogout?

optional afterLogout?: () => void | Promise<void>

Defined in: packages/satellite-siwe-next-auth/src/types.ts:48 

Hook executed after the user is successfully logged out.

Returns

void | Promise<void>


afterNonce?

optional afterNonce?: () => void | Promise<void>

Defined in: packages/satellite-siwe-next-auth/src/types.ts:50 

Hook executed before SIWE message verification (e.g., when the message is available).

Returns

void | Promise<void>


afterSession?

optional afterSession?: () => void | Promise<void>

Defined in: packages/satellite-siwe-next-auth/src/types.ts:52 

Hook executed after the session is successfully created/saved.

Returns

void | Promise<void>


afterVerify?

optional afterVerify?: () => void | Promise<void>

Defined in: packages/satellite-siwe-next-auth/src/types.ts:54 

Hook executed after the SIWE signature is successfully verified.

Returns

void | Promise<void>

Last updated on