WaasUpdatePasswordPayload class

updatePassword's payload: re-encrypts the key share, so it needs both passwords.

Constructors

WaasUpdatePasswordPayload({required String chainName, required String signedSessionId, required String authToken, required String accountAddress, required String existingPassword, required String newPassword, String? sessionPublicKey})
const

Properties

accountAddress → String
final
authToken → String
final
chainName → String
final
existingPassword → String
final
hashCode → int
The hash code for this object.
no setterinherited
newPassword → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionPublicKey → String?
final
signedSessionId → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payloadJson() → String
This payload as the JSON the waas-v1 page expects. A caller puts it in a bridge envelope's args array. An absent optional is omitted, not sent as null — the page tells those apart.
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → WaasUpdatePasswordPayload