Web3AuthOptions class
Constructors
-
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})
Properties
- buildEnv → BuildEnv?
-
buildEnv is used for internal testing purposes. This buildEnv
signifies the enviroment for Web3Auth, and doesn't signifies
the enviorment of the application.
final
- chainConfig → ChainConfig?
-
final
- chainNamespace → ChainNamespace?
-
final
- clientId → String
-
Client id for web3auth.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loginConfig
→ HashMap<
String, LoginConfigItem> ? -
Login config for the custom verifiers.
final
- mfaSettings → MfaSettings?
-
Allows developers to configure the MfaSettings for authentication.
final
- network → Network
-
Web3Auth Network to use for the session & the issued idToken.
final
-
originData
→ Map<
String, String> ? -
final
- redirectUrl → Uri
-
Deeplinking for the application where user will be redirected after login.
Ideally, it should be bundleId and package name for iOS and Android respectively.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdkUrl → String?
-
Define the desired Web3Auth service url.
final
- sessionTime → int?
-
sessionTime allows developers to configure the session management time.
final
- useCoreKitKey → bool?
-
Use useCoreKitKey to get the core kit key.
final
- walletSdkUrl → String?
-
final
- whiteLabel → WhiteLabelData?
-
WhiteLabel options for web3auth. It helps you define
custom UI, branding, and translations for your brand app.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited