<?php

declare(strict_types=1);

namespace NoahVet\Reef\Security\User\Provider;

use NoahVet\Reef\Security\User\ReefOAuthUser;

interface ReefOAuthUserProviderInterface
{
    public function getTokenExpiresAt(string $bearerToken): ?\DateTimeImmutable;

    public function loadUser(string $bearerToken): ?ReefOAuthUser;
}
