Skip to Content
API referenceSatellite Siwe Next AuthSrcInterfacesSiweNextAuthProviderProps

@tuwaio/satellite-connect-monorepo


SiweNextAuthProviderProps

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

SiweNextAuthProviderProps

Properties

children

children: ReactNode

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

Child components.


enabled?

optional enabled: boolean

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

Enables or disables SIWE authentication globally.


getSiweMessageOptions?

optional getSiweMessageOptions: GetSiweMessageOptions

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

Optional function to customize the SIWE message fields.


nonceRefetchInterval?

optional nonceRefetchInterval: number

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

Interval (ms) for refetching session/nonce token (defaults to 5 mins).


onSignIn()?

optional onSignIn: (session?) => void

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

Callback executed after a successful SIWE sign-in.

Parameters

session?

SIWESession

Returns

void


onSignOut()?

optional onSignOut: () => void

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

Callback executed after a successful sign-out or connector disconnect.

Returns

void


wagmiConfig

wagmiConfig: Config

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

Last updated on