Newer
Older
Warehouse / src / Infrastructure / Authentication / External / Services / IExternalAuthenticationVerifier.cs
@Derek Comartin Derek Comartin on 22 Aug 2023 350 bytes Init
using MyWarehouse.Infrastructure.Authentication.External.Model;
using System.Diagnostics.CodeAnalysis;

namespace MyWarehouse.Infrastructure.Authentication.External.Services;

public interface IExternalAuthenticationVerifier
{
    Task<(bool success, ExternalUserData? userData)> Verify(ExternalAuthenticationProvider provider, string idToken);
}