Web3AuthOptions constructor
Web3AuthOptions({
- required String clientId,
- required Network network,
- BuildEnv? buildEnv = BuildEnv.production,
- String? sdkUrl,
- String? walletSdkUrl,
- required Uri redirectUrl,
- WhiteLabelData? whiteLabel,
- HashMap<
String, LoginConfigItem> ? loginConfig, - bool? useCoreKitKey,
- ChainNamespace? chainNamespace = ChainNamespace.eip155,
- int? sessionTime = 86400,
- MfaSettings? mfaSettings,
- Map<
String, String> ? originData,
Implementation
Web3AuthOptions({
required this.clientId,
required this.network,
this.buildEnv = BuildEnv.production,
String? sdkUrl,
String? walletSdkUrl,
required this.redirectUrl,
this.whiteLabel,
this.loginConfig,
this.useCoreKitKey,
this.chainNamespace = ChainNamespace.eip155,
this.sessionTime = 86400,
this.mfaSettings,
this.originData,
}) : chainConfig = null,
sdkUrl = sdkUrl ?? getSdkUrl(buildEnv ?? BuildEnv.production),
walletSdkUrl =
walletSdkUrl ?? getWalletSdkUrl(buildEnv ?? BuildEnv.production);