<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2025 Sebastian Krupinski <krupinski01@gmail.com>
 * SPDX-License-Identifier: AGPL-3.0-only
 */

namespace JmapClient\Authentication;

interface IAuthenticationJsonBasicCookie extends IAuthenticationJsonBasic
{
    public function getCookieAuthenticationLocation(): ?string;

    public function setCookieAuthenticationLocation(string $value): void;

    public function getCookieStoreId(): ?string;

    public function setCookieStoreId(string $value): void;

    public function getCookieStoreRetrieve(): ?callable;

    public function setCookieStoreRetrieve(callable $value): void;

    public function getCookieStoreDeposit(): ?callable;

    public function setCookieStoreDeposit(callable $value): void;
}
