using System.Collections.Generic;
using System.Security.Claims;
namespace GB5Shared.Auth.Jwt
{
///
/// Implemented by each consumer's own access-token claims DTO (e.g. DXP's
/// DXPAccessTokenClaims, Entitlement's ClientAccessTokenClaims) so
/// can build a token without knowing anything about what a specific caller's claims mean.
/// Deliberately not a claims dictionary — each consumer keeps its own strongly-typed claims
/// class and claim-name constants; only the ability to enumerate them is shared.
///
public interface IJwtClaimsSource
{
IEnumerable ToClaims();
}
}