wabbajack/Wabbajack.Networking.GitHub/GithubAuthTokenProvider.cs

12 lines
371 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>
{
2022-10-07 20:53:55 +00:00
public abstract ValueTask<string?> Get();
2021-10-23 16:51:17 +00:00
public abstract ValueTask SetToken(string val);
public abstract ValueTask<bool> Delete();
public abstract bool HaveToken();
2021-09-27 12:42:46 +00:00
}