Delete Shares

Delete shares from the authentication server. Normally, this function is used when a user deletes wallet.

deleteShares: (
   params: GeneralParams
 ) => Promise<GeneralResponseData>;

Parameters:

  • GeneralParams:

    • deviceId: The device unique ID.

    • loginToken: The login token for authentication.

    • spk: The Shares Protecting Key (Public and Private Key).

Returns:

A promise that resolves to an RetrieveSharesResponseData object.

Associated Types

KeyTypesAuthServerClientTypes

Last updated