mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
chore: WG login redirection and parameters parsing implemented
This commit is contained in:
1 parent
83681c6b42
commit
8a5d286560
4 files changed
+95
-4
No files matched your search
@@ -0,0 +1,28 @@
|
||||
using MediatR;
|
||||
using WotBlitzStatisticsPro.Blazor.GraphQl;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Blazor.Messages
|
||||
{
|
||||
public class RedirectFromWgLoginMessage : INotification
|
||||
{
|
||||
public RealmType Realm { get; }
|
||||
public string NickName { get; }
|
||||
public long AccountId { get; }
|
||||
public string AccessToken { get; }
|
||||
public long ExpiresAt { get; }
|
||||
|
||||
public RedirectFromWgLoginMessage(
|
||||
RealmType realm,
|
||||
string nickName,
|
||||
long accountId,
|
||||
string accessToken,
|
||||
long expiresAt)
|
||||
{
|
||||
Realm = realm;
|
||||
NickName = nickName;
|
||||
AccountId = accountId;
|
||||
AccessToken = accessToken;
|
||||
ExpiresAt = expiresAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user