<?php

namespace MintyPHP\Service\Auth;

use MintyPHP\Service\User\UserAvatarService;

class AuthAvatarGateway
{
    public function __construct(private readonly UserAvatarService $userAvatarService)
    {
    }

    public function isValidUuid(string $uuid): bool
    {
        return $this->userAvatarService->isValidUuid($uuid);
    }

    public function saveBinary(string $uuid, string $binary, string $mime): void
    {
        $this->userAvatarService->saveBinary($uuid, $binary, $mime);
    }
}
