WaasCreateOfflineRecoverySharesPayload class

createOfflineRecoveryShares' payload: mints a second, independent 2-of-2 offline-recovery share set — the client half uploads to Google Drive, the server half to the developer's webhook.

Constructors

WaasCreateOfflineRecoverySharesPayload({required String chainName, required String signedSessionId, required String authToken, required String accountAddress, String? cloudProviderAccessToken, String? mfaToken, String? password})
const

Properties

accountAddress → String
final
authToken → String
final
chainName → String
final
cloudProviderAccessToken → String?
OAuth Drive-scope access token; when omitted the page falls back to the stored OAuth token — same boundary as backupKeySharesToGoogleDrive's googleDriveAccessToken.
final
hashCode → int
The hash code for this object.
no setterinherited
mfaToken → String?
Proves a completed MFA step-up, when the environment requires one for this action.
final
password → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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) → WaasCreateOfflineRecoverySharesPayload