wabbajack/Wabbajack.Networking.GitHub/GithubAuthTokenProvider.cs

12 lines
370 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using System.Threading.Tasks;
using Wabbajack.Networking.Http.Interfaces;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.Networking.GitHub;
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public abstract class GithubAuthTokenProvider : ITokenProvider<string>
{
public abstract ValueTask<string> Get();
public abstract ValueTask SetToken(string val);
public abstract ValueTask<bool> Delete();
public abstract bool HaveToken();
2021-09-27 12:42:46 +00:00
}