SiweService class
- Implemented types
Constructors
- SiweService({required IWeb3App web3app, required SIWEConfig? siweConfig})
Properties
- config → SIWEConfig?
-
no setteroverride
- enabled → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- nonceRefetchIntervalMs → int
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionRefetchIntervalMs → int
-
no setteroverride
- signOutOnAccountChange → bool
-
no setteroverride
- signOutOnDisconnect → bool
-
no setteroverride
- signOutOnNetworkChange → bool
-
no setteroverride
Methods
-
createMessage(
{required String chainId, required String address}) → Future< String> -
override
-
formatMessage(
SIWECreateMessageArgs params) → String -
override
-
getNonce(
) → Future< String> -
override
-
getSession(
) → Future< SIWESession> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signMessageRequest(
String message, {required W3MSession session}) → Future< String> -
override
-
signOut(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyMessage(
{required String message, required String signature, Cacao? cacao, String? clientId}) → Future< bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited