Skip to content

Commit 5090e55

Browse files
authored
Merge develop to main for release 3.0.2 (#91)
2 parents 88c6ba0 + 4147332 commit 5090e55

File tree

7 files changed

+19
-14
lines changed

7 files changed

+19
-14
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,4 @@ jobs:
196196
with:
197197
name: integration-test-artifacts
198198
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-register/tmp
199+

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
## [3.0.2] - 2025-08-06
9+
### Fixed
10+
- Fixed issue where some claims in the PAR request were not sent in lowercase.
11+
812
## [3.0.1] - 2025-06-19
913
### Changed
1014
- Fixed multiple build warnings to improve code quality and maintainability
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
using Newtonsoft.Json;
1+
using System.Text.Json.Serialization;
22

33
namespace CDR.DataRecipient.SDK.Models.AuthorisationRequest
44
{
55
public class Acr
66
{
7-
[JsonProperty(PropertyName = "essential")]
7+
[JsonPropertyName("essential")]
88
public bool Essential { get; set; }
99

10-
[JsonProperty(PropertyName = "values")]
10+
[JsonPropertyName("values")]
1111
public string[] Values { get; set; }
1212
}
1313
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Newtonsoft.Json;
1+
using System.Text.Json.Serialization;
22

33
namespace CDR.DataRecipient.SDK.Models.AuthorisationRequest
44
{
@@ -10,16 +10,16 @@ public AuthorisationRequestClaims(int supportedAcr)
1010
this.Id_token = new IdToken(supportedAcr);
1111
}
1212

13-
[JsonProperty("sharing_duration")]
13+
[JsonPropertyName("sharing_duration")]
1414
public int? Sharing_duration { get; set; }
1515

16-
[JsonProperty("cdr_arrangement_id")]
16+
[JsonPropertyName("cdr_arrangement_id")]
1717
public string Cdr_arrangement_id { get; set; }
1818

19-
[JsonProperty("userinfo")]
19+
[JsonPropertyName("userinfo")]
2020
public AuthorisationRequestClaimsUserInfo Userinfo { get; set; }
2121

22-
[JsonProperty("id_token")]
22+
[JsonPropertyName("id_token")]
2323
public IdToken Id_token { get; set; }
2424
}
2525
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
using Newtonsoft.Json;
1+
using System.Text.Json.Serialization;
22

33
namespace CDR.DataRecipient.SDK.Models.AuthorisationRequest
44
{
55
public class AuthorisationRequestClaimsUserInfo
66
{
7-
[JsonProperty("given_name")]
7+
[JsonPropertyName("given_name")]
88
public string Given_name { get; set; }
99

10-
[JsonProperty("family_name")]
10+
[JsonPropertyName("family_name")]
1111
public string Family_name { get; set; }
1212
}
1313
}

Source/CDR.DataRecipient.SDK/Models/IdToken.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Newtonsoft.Json;
1+
using System.Text.Json.Serialization;
22

33
namespace CDR.DataRecipient.SDK.Models.AuthorisationRequest
44
{
@@ -9,7 +9,7 @@ public IdToken(int supportedAcr)
99
this.Acr = new Acr() { Essential = true, Values = new string[] { $"urn:cds.au:cdr:{supportedAcr}" } };
1010
}
1111

12-
[JsonProperty("acr")]
12+
[JsonPropertyName("acr")]
1313
public Acr Acr { get; set; }
1414
}
1515
}

Source/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<TargetFrameworkVersion>net8.0</TargetFrameworkVersion>
4-
<Version>3.0.1</Version>
4+
<Version>3.0.2</Version>
55
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
66
<EnableNETAnalyzers>true</EnableNETAnalyzers>
77
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>

0 commit comments

Comments
 (0)