diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs b/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs index 491de430b0..e70be98aa5 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs @@ -12,6 +12,7 @@ public TokenDTO(Token token) CreatedAt = token.CreatedAt; ExpiresAt = token.ExpiresAt; Content = token.Content; + ForIdentity = token.ForIdentity?.Value; } public string Id { get; set; } diff --git a/Sdks/ConsumerApi.Sdk/src/Endpoints/Tokens/Types/Token.cs b/Sdks/ConsumerApi.Sdk/src/Endpoints/Tokens/Types/Token.cs index ed38d313b9..0c7ef0da2d 100644 --- a/Sdks/ConsumerApi.Sdk/src/Endpoints/Tokens/Types/Token.cs +++ b/Sdks/ConsumerApi.Sdk/src/Endpoints/Tokens/Types/Token.cs @@ -7,5 +7,6 @@ public class Token public required string CreatedByDevice { get; set; } public required DateTime CreatedAt { get; set; } public required DateTime ExpiresAt { get; set; } + public string? ForIdentity { get; set; } public required byte[] Content { get; set; } }