File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "isRoot" : true ,
44 "tools" : {
55 "dotnet-grpc" : {
6- "version" : " 2.71 .0" ,
6+ "version" : " 2.80 .0" ,
77 "commands" : [
88 " dotnet-grpc"
99 ]
Original file line number Diff line number Diff line change 99jobs :
1010 semantic-release :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ id-token : write
14+ contents : write
15+ issues : write
1216 steps :
13- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v6
1418 - uses : bufbuild/buf-setup-action@v1
1519 with :
1620 github_token : ${{ secrets.GITHUB_TOKEN }}
17- - uses : extractions/setup-just@v1
21+ - uses : extractions/setup-just@v4
1822 with :
1923 github-token : ${{ secrets.GITHUB_TOKEN }}
2024 - name : Setup .NET
21- uses : actions/setup-dotnet@v3
25+ uses : actions/setup-dotnet@v5
2226 with :
2327 dotnet-version : 8.x
2428 - name : Setup dotnet tools
2529 run : dotnet tool restore
2630 - name : Generate gRPC code
2731 run : just generate-grpc
32+
33+ - name : NuGet login
34+ uses : NuGet/login@v1
35+ id : login
36+ with :
37+ user : ${{ secrets.NUGET_USER }}
38+
2839 - name : Semantic Release
29- uses : cycjimmy/semantic-release-action@v3
40+ uses : cycjimmy/semantic-release-action@v6
3041 with :
3142 semantic_version : 19
3243 extra_plugins : |
3344 semantic-release-net
3445 env :
3546 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36- NUGET_TOKEN : ${{ secrets .NUGET_API_KEY }}
47+ NUGET_TOKEN : ${{ steps.login.outputs .NUGET_API_KEY }}
Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ jobs:
1515 version :
1616 - 8.x
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v6
1919 - uses : bufbuild/buf-setup-action@v1
2020 with :
2121 github_token : ${{ secrets.GITHUB_TOKEN }}
22- - uses : extractions/setup-just@v1
22+ - uses : extractions/setup-just@v4
2323 with :
2424 github-token : ${{ secrets.GITHUB_TOKEN }}
2525 - name : Setup .NET
26- uses : actions/setup-dotnet@v3
26+ uses : actions/setup-dotnet@v5
2727 with :
2828 dotnet-version : ${{ matrix.version }}
2929 - name : Setup dotnet tools
Original file line number Diff line number Diff line change 4545 Version =" 9.32.0.97167"
4646 PrivateAssets =" all"
4747 Condition =" $(MSBuildProjectExtension) == '.csproj'" />
48- <PackageReference Include =" Roslynator.Analyzers" Version =" 4.14.1 " PrivateAssets =" All" />
48+ <PackageReference Include =" Roslynator.Analyzers" Version =" 4.15.0 " PrivateAssets =" All" />
4949 </ItemGroup >
5050
5151 <ItemGroup >
Original file line number Diff line number Diff line change 11using IdentityModel . AspNetCore . OAuth2Introspection ;
22
3- using Zitadel . Credentials ;
4-
53namespace Zitadel . Authentication . Options ;
64
75/// <summary>
@@ -26,5 +24,5 @@ public class ZitadelIntrospectionOptions : OAuth2IntrospectionOptions
2624 /// the client assertion is added.
2725 /// </para>
2826 /// </summary>
29- public Application ? JwtProfile { get ; set ; }
27+ public global :: Zitadel . Credentials . Application ? JwtProfile { get ; set ; }
3028}
Original file line number Diff line number Diff line change 1818
1919 <ItemGroup >
2020 <PackageReference Include =" BouncyCastle.Cryptography" Version =" 2.6.2" />
21- <PackageReference Include =" Google.Protobuf" Version =" 3.33.0 " />
21+ <PackageReference Include =" Google.Protobuf" Version =" 3.34.1 " />
2222 <PackageReference Include =" Grpc" Version =" 2.46.6" />
23- <PackageReference Include =" Grpc.Net.ClientFactory" Version =" 2.71 .0" />
24- <PackageReference Include =" Grpc.Net.Common" Version =" 2.71 .0" />
23+ <PackageReference Include =" Grpc.Net.ClientFactory" Version =" 2.80 .0" />
24+ <PackageReference Include =" Grpc.Net.Common" Version =" 2.80 .0" />
2525 <PackageReference Include =" IdentityModel.AspNetCore.OAuth2Introspection" Version =" 6.2.0" />
26- <PackageReference Include =" jose-jwt" Version =" 5.2 .0" />
26+ <PackageReference Include =" jose-jwt" Version =" 5.3 .0" />
2727 </ItemGroup >
2828
2929 <ItemGroup Condition =" '$(TargetFramework)' == 'net8.0'" >
30- <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 8.0.21 " />
31- <PackageReference Include =" Microsoft.AspNetCore.Authentication.OpenIdConnect" Version =" 8.0.21 " />
30+ <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 8.0.26 " />
31+ <PackageReference Include =" Microsoft.AspNetCore.Authentication.OpenIdConnect" Version =" 8.0.26 " />
3232 </ItemGroup >
3333
3434</Project >
Original file line number Diff line number Diff line change 22
33using Xunit ;
44
5- using Zitadel . Credentials ;
5+ using ZitadelApplication = Zitadel . Credentials . Application ;
66
77namespace Zitadel . Test . Credentials ;
88
@@ -11,14 +11,14 @@ public class ApplicationTest
1111 [ Fact ]
1212 public async Task Load_App_From_Json ( )
1313 {
14- var app = await Application . LoadFromJsonStringAsync ( TestData . ApplicationJson ) ;
14+ var app = await ZitadelApplication . LoadFromJsonStringAsync ( TestData . ApplicationJson ) ;
1515 app . AppId . Should ( ) . Be ( "170101999168127233" ) ;
1616 }
1717
1818 [ Fact ]
1919 public async Task Create_Signed_Jwt ( )
2020 {
21- var app = await Application . LoadFromJsonStringAsync ( TestData . ApplicationJson ) ;
21+ var app = await ZitadelApplication . LoadFromJsonStringAsync ( TestData . ApplicationJson ) ;
2222 var token = await app . GetSignedJwtAsync ( TestData . ApiUrl ) ;
2323
2424 token . Should ( ) . StartWith ( "ey" ) ;
Original file line number Diff line number Diff line change 11using Zitadel . Credentials ;
2+ using ZitadelApplication = Zitadel . Credentials . Application ;
23
34namespace Zitadel . Test ;
45
@@ -39,7 +40,7 @@ public static class TestData
3940 }
4041 """ ;
4142
42- public static Application Application => Application . LoadFromJsonString ( ApplicationJson ) ;
43+ public static ZitadelApplication Application => ZitadelApplication . LoadFromJsonString ( ApplicationJson ) ;
4344
4445 public static ServiceAccount ServiceAccount => ServiceAccount . LoadFromJsonString ( ServiceAccountJson ) ;
4546}
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <ItemGroup >
4- <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 8.0.21 " />
4+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 8.0.26 " />
55 <PackageReference Include =" Moq" Version =" 4.20.72" />
66 <PackageReference Update =" FluentAssertions" Version =" 6.12.2" />
77 <PackageReference Update =" Microsoft.NET.Test.Sdk" Version =" 17.14.1" />
You can’t perform that action at this time.
0 commit comments