Files
Moonlight/Moonlight.ApiServer/Interfaces/OAuth2/IOAuth2Provider.cs

8 lines
229 B
C#

using Moonlight.ApiServer.Database.Entities;
namespace Moonlight.ApiServer.Interfaces.OAuth2;
public interface IOAuth2Provider
{
public Task<User?> Sync(IServiceProvider provider, string accessToken, string refreshToken);
}