<?php
namespace Fifa\ConnectId\Sdk\ApiClient\DataHolder;

use Fifa\ConnectId\Sdk\Exception\FifaConnectIdException;
use Fifa\ConnectId\Sdk\Exception\InvalidClientDataException;
use Fifa\ConnectId\Sdk\Exception\TooManyRequestsException;
use Fifa\ConnectId\Sdk\Exception\UnauthorizedException;
use Fifa\ConnectId\Sdk\Model\PersonName;
use Fifa\ConnectId\Sdk\Api\Model\HashedNameType;
use Fifa\ConnectServiceBus\Sdk\Exception\AuthenticationException;
use InvalidArgumentException;

/**
 * Interface DataHolderApiInterface
 * @package Fifa\ConnectId\Sdk\ApiClient\DataHolder
 */
interface DataHolderApiInterface
{
    /**
     * Gets the list of all Data Holders of the person
     *
     * @param string $personFifaId
     * @return string[]
     */
    public function getDataHoldersOfPerson(string $personFifaId): array;

    /**
     * Registers current system as Data Holder for the given person
     *
     * @param string $personFifaId
     * @return void
     */
    public function registerAsDataHolderOfPerson(string $personFifaId): void;
}