OZConnectWalletResult class sealed

Result of a wallet connection attempt.

connectWallet returns one of two arms:

  • OZConnectWalletConnected: a single contract was resolved for the credential. The kit's connection state has been set and a session has been saved.
  • OZConnectWalletAmbiguous: the indexer reported multiple contracts for the credential (the passkey is registered as a signer on more than one contract). The kit's connection state has NOT been set — the caller must let the user pick a contract and re-call connectWallet with the chosen contractId to finalise.

OZConnectWalletAmbiguous is by construction unreachable when an explicit contractId is supplied.

Implementers

Properties

credentialId → String
The credential ID (Base64URL-encoded, no padding).
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited