<?php

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;
}
