File tree Expand file tree Collapse file tree 5 files changed +12
-10
lines changed
src/AspNet.Security.OAuth.Apple/Internal
test/AspNet.Security.OAuth.Providers.Tests/Apple Expand file tree Collapse file tree 5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 4
4
<PackageVersion Include =" JetBrains.Annotations" Version =" 2022.1.0" />
5
5
<PackageVersion Include =" JustEat.HttpClientInterception" Version =" 3.1.2" />
6
6
<PackageVersion Include =" MartinCostello.Logging.XUnit" Version =" 0.3.0" />
7
- <PackageVersion Include =" Microsoft.AspNetCore.Authentication.Google" Version =" 8.0.0-preview.7.23375.9 " />
8
- <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 8.0.0-preview.7.23375.9 " />
9
- <PackageVersion Include =" Microsoft.AspNetCore.TestHost" Version =" 8.0.0-preview.7.23375.9 " />
7
+ <PackageVersion Include =" Microsoft.AspNetCore.Authentication.Google" Version =" 8.0.0-rc.1.23421.29 " />
8
+ <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 8.0.0-rc.1.23421.29 " />
9
+ <PackageVersion Include =" Microsoft.AspNetCore.TestHost" Version =" 8.0.0-rc.1.23421.29 " />
10
10
<PackageVersion Include =" Microsoft.IdentityModel.Protocols.OpenIdConnect" Version =" 6.16.0" />
11
11
<PackageVersion Include =" NSubstitute" Version =" 5.0.0" />
12
12
<PackageVersion Include =" Shouldly" Version =" 4.1.0" />
Original file line number Diff line number Diff line change 9
9
TODO Change to 8.0.0 post-release
10
10
-->
11
11
<PackageValidationBaselineVersion Condition =" '$(PackageValidationBaselineVersion)' == ''" >7.0.0</PackageValidationBaselineVersion >
12
- <PreReleaseVersionLabel >preview </PreReleaseVersionLabel >
13
- <PreReleaseVersionIteration >7 </PreReleaseVersionIteration >
14
- <PreReleaseBrandingLabel >Preview $(PreReleaseVersionIteration)</PreReleaseBrandingLabel >
12
+ <PreReleaseVersionLabel >rc </PreReleaseVersionLabel >
13
+ <PreReleaseVersionIteration >1 </PreReleaseVersionIteration >
14
+ <PreReleaseBrandingLabel >Release Candidate $(PreReleaseVersionIteration)</PreReleaseBrandingLabel >
15
15
<StabilizePackageVersion Condition =" '$(StabilizePackageVersion)' == ''" >false</StabilizePackageVersion >
16
16
<DotNetFinalVersionKind Condition =" '$(StabilizePackageVersion)' == 'true'" >release</DotNetFinalVersionKind >
17
17
<IncludePreReleaseLabelInPackageVersion >true</IncludePreReleaseLabelInPackageVersion >
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 8.0.100-preview.7.23376.3 " ,
3
+ "version" : " 8.0.100-rc.1.23455.8 " ,
4
4
"allowPrerelease" : true ,
5
5
"rollForward" : " major"
6
6
},
7
7
8
8
"tools" : {
9
- "dotnet" : " 8.0.100-preview.7.23376.3 "
9
+ "dotnet" : " 8.0.100-rc.1.23455.8 "
10
10
},
11
11
12
12
"msbuild-sdks" : {
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ private static ECDsa CreateAlgorithm(ReadOnlyMemory<char> pem)
109
109
}
110
110
catch ( Exception )
111
111
{
112
- algorithm ? . Dispose ( ) ;
112
+ algorithm . Dispose ( ) ;
113
113
throw ;
114
114
}
115
115
}
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ namespace AspNet.Security.OAuth.Apple;
16
16
17
17
public class AppleTests : OAuthTests < AppleAuthenticationOptions >
18
18
{
19
+ private static readonly JsonSerializerOptions SerializerOptions = new ( ) { WriteIndented = true } ;
20
+
19
21
public AppleTests ( ITestOutputHelper outputHelper )
20
22
{
21
23
OutputHelper = outputHelper ;
@@ -533,7 +535,7 @@ public void Regenerate_Test_Jwts()
533
535
534
536
var publicEmailIdToken = new JwtSecurityTokenHandler ( ) . WriteToken ( publicEmailToken ) ;
535
537
var privateEmailIdToken = new JwtSecurityTokenHandler ( ) . WriteToken ( privateEmailToken ) ;
536
- var serializedRsaPublicKey = JsonSerializer . Serialize ( webKey , new JsonSerializerOptions ( ) { WriteIndented = true } ) ;
538
+ var serializedRsaPublicKey = JsonSerializer . Serialize ( webKey , SerializerOptions ) ;
537
539
538
540
// Copy the values from the test output to bundles.json if you need to regenerate the JWTs to edit the claims
539
541
You can’t perform that action at this time.
0 commit comments