@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?
optionalenabled:boolean
Defined in: packages/satellite-siwe-next-auth/src/types.ts:165
Enables or disables SIWE authentication globally.
getSiweMessageOptions?
optionalgetSiweMessageOptions:GetSiweMessageOptions
Defined in: packages/satellite-siwe-next-auth/src/types.ts:169
Optional function to customize the SIWE message fields.
nonceRefetchInterval?
optionalnonceRefetchInterval:number
Defined in: packages/satellite-siwe-next-auth/src/types.ts:166
Interval (ms) for refetching session/nonce token (defaults to 5 mins).
onSignIn()?
optionalonSignIn: (session?) =>void
Defined in: packages/satellite-siwe-next-auth/src/types.ts:167
Callback executed after a successful SIWE sign-in.
Parameters
session?
Returns
void
onSignOut()?
optionalonSignOut: () =>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