📄 src/Infrastructure/YouTube/IYouTubeCredentialsProvider.cs
1 2 3 4 5 6 7 8 9 10 11
using System.Threading;
using System.Threading.Tasks;
using Google.Apis.Auth.OAuth2;

namespace Slopper.Infrastructure.YouTube;

public interface IYouTubeCredentialsProvider
{
    Task<ICredential> GetCredentials(CancellationToken cancellationToken);
}