PROTOCOLS
PrototypeAccountTransferControl
Defined in fuchsia.identity.prototype/account_transfer_prototype.fidl
A temporary control interface exposed by Account Manager for prototyping. Once the functionality is ready to be brought out of prototype stage this protocol will be removed and its methods will be moved to the AccountManager interface. This interface is intended only for use by development tools to manually initiate an account transfer, and should generally not be used.
TransferAccount
Provisions an account on the current device onto another device.
account_id
The local id of the account to transfer.
target_device
The device on which the account should be provisioned,
identified using an Overnet NodeId.
target_lifetime
The lifetime the account should have on the target
device
Returns successfully if the account is provisioned on the remote device successfully. Fails with an UNSUPPORTED_OPERATION error if the account is already present on the remote device.
Request
Name | Type |
---|---|
account_id |
fuchsia.identity.account/LocalAccountId
|
target_device |
fuchsia.overnet.protocol/NodeId
|
target_lifetime |
fuchsia.identity.account/Lifetime
|
Response
Name | Type |
---|---|
result |
PrototypeAccountTransferControl_TransferAccount_Result
|
STRUCTS
PrototypeAccountTransferControl_TransferAccount_Response
generated
Name | Type | Description | Default |
---|
UNIONS
PrototypeAccountTransferControl_TransferAccount_Result
generated
Name | Type | Description |
---|---|---|
response |
PrototypeAccountTransferControl_TransferAccount_Response
|
|
err |
fuchsia.identity.account/Error
|