Add GameVersion domain and login validation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json;
|
||||
using RecNet.Application.Common.Interfaces;
|
||||
using RecNet.Domain.Repositories;
|
||||
using RecNet.Domain.Configuration;
|
||||
|
||||
namespace RecNet.Infrastructure.Services.Configuration;
|
||||
|
||||
|
||||
15
RecNet.Infrastructure/Services/Meta/MetaAuthValidator.cs
Normal file
15
RecNet.Infrastructure/Services/Meta/MetaAuthValidator.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using RecNet.Application.Common.Interfaces;
|
||||
using RecNet.Application.Common.PlatformAuth;
|
||||
using RecNet.Domain.Common;
|
||||
|
||||
namespace RecNet.Infrastructure.Services.Meta;
|
||||
|
||||
public class MetaAuthValidator : IPlatformAuthValidator
|
||||
{
|
||||
public PlatformType PlatformType
|
||||
=> PlatformType.Meta;
|
||||
|
||||
public Task<PlatformAuthResult> ValidateAsync(string platformAuthentication, string platformId,
|
||||
CancellationToken ct = default)
|
||||
=> Task.FromResult(PlatformAuthResult.Success(null)); // TODO: Implement
|
||||
}
|
||||
@@ -5,7 +5,7 @@ using Microsoft.Extensions.Options;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using RecNet.Application.Common.Interfaces;
|
||||
using RecNet.Application.Common.Tokens;
|
||||
using RecNet.Domain.Entities.Profiles;
|
||||
using RecNet.Domain.Profiles;
|
||||
|
||||
namespace RecNet.Infrastructure.Services.Tokens;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user