mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 11:20:05 +02:00
feat: GitHub OAuth mechanism implemented
This commit is contained in:
1 parent
a247406a42
commit
0b5da2f7c6
9 files changed
+299
-9
No files matched your search
@@ -0,0 +1,12 @@
|
||||
using System.Threading.Tasks;
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.GraphQl.GitHubOauth
|
||||
{
|
||||
public interface IGitHubOauthService
|
||||
{
|
||||
Task<GitHubUser?> GetGitHubUser(string oAuthCode);
|
||||
|
||||
string GenerateToken(GitHubUser user);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user