//
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
//
namespace Astral.Services.Interfaces;
///
/// Identify who the requesting user is.
///
public interface IIdentityProvider
{
///
/// Get the user id of the authorised agent.
///
/// Guid representing the user id, or empty guid if none.
Guid GetUserId();
///
/// Get the username of the authorised agent.
///
/// Username, or null if none.
string GetUserName();
}