17 lines
702 B
C#
17 lines
702 B
C#
namespace Distribution.Features.Auth;
|
|
|
|
/// <summary>
|
|
/// Connector to the external Auth Service. This backend proxies all auth
|
|
/// traffic from the Next.js frontend through to the Auth Service — the
|
|
/// frontend never calls the Auth Service directly.
|
|
///
|
|
/// TODO: Fill in the method signatures once the Auth Service contract is agreed.
|
|
/// </summary>
|
|
public interface IAuthServiceClient
|
|
{
|
|
// TODO: define methods based on Auth Service contract, e.g.:
|
|
// Task<AuthServiceResponse?> LoginAsync(LoginRequest request, CancellationToken ct);
|
|
// Task<AuthServiceResponse?> RefreshAsync(string refreshToken, CancellationToken ct);
|
|
// Task LogoutAsync(string token, CancellationToken ct);
|
|
}
|