Edit this page

UAuth Web3-Onboard Library

The @uauth/web3-onboard library is a middleware library used for integrating UAuth with Blocknative Web3-Onboard applications.

uauthBNCModule

The default export for the the @uauth/web3-onboard library. Implements Web3 Onboard WalletInit.

Copy
Copied
function uauthBNCModule(
  options: ConstructorOptions,
): WalletInit

ConstructorOptions

The options object passed to uauthBNCModule.

Copy
Copied
interface ConstructorOptions {
  uauth: UAuth
  shouldLoginWithRedirect?: boolean
  walletconnect: IWalletConnectProviderOptions
}

shouldLoginWithRedirect

If shouldLoginWithRedirect is set to true, the uauthBNCModule instance will use the uauth.login() method instead of the default, uauth.loginWithPopup().