Function deleteDisposableAuthDescriptors

  • Deletes all disposable auth descriptors of an account. Useful in many cases but perhaps especially so when the user has reached its maximum number of auth descriptors added to an account and no longer has access to the key to anyone of them. Such as when the disposable had a long timeout and the keys were only stored in memory.

    Parameters

    • connection: Connection

      the connection to use when calling the blockchain

    • account: AuthenticatedAccount

      the account which to delete the auth descriptors from

    • key: FtKeyStore

      the key to the auth descriptor that will be used to delete the auth descriptors, probably the key to the main auth descriptor.

    Returns Promise<void>