<?php
namespace Fifa\ConnectServiceBus\Sdk\Authentication;

use Fifa\ConnectServiceBus\Sdk\Authentication\Model\Token;
use Fifa\ConnectServiceBus\Sdk\Exception\AuthenticationException;

/**
 * Interface TokenProviderInterface
 * @package Fifa\ConnectServiceBus\Sdk\Authentication
 */
interface TokenProviderInterface
{
    /**
     * Returns the token for API authorization
     *
     * @return Token
     * @throws AuthenticationException
     */
    public function getToken(): Token;
}