From b26f014c8fb2952b638fdfef6d5ea635b5a855a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Jun 2026 17:03:43 +0000 Subject: [PATCH] fix: make ITokenProvider.CreateHandler() public with proper XML docs Fixes SA1615 (add XML doc to CreateHandler) and SA1518 (ensure file ends with exactly one newline). Also changes the method visibility from internal to public as intended by PR #1001 to allow custom ITokenProvider implementations outside the Zitadel.Net assembly. --- src/Zitadel/Api/ITokenProvider.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Zitadel/Api/ITokenProvider.cs b/src/Zitadel/Api/ITokenProvider.cs index 2176b349..39976d84 100644 --- a/src/Zitadel/Api/ITokenProvider.cs +++ b/src/Zitadel/Api/ITokenProvider.cs @@ -34,5 +34,10 @@ static ITokenProvider ServiceAccount( options); } - internal DelegatingHandler CreateHandler(); + /// + /// Creates the delegating handler for the token provider. + /// Made public to allow custom ITokenProvider implementations outside Zitadel.Net. + /// + /// A for the token provider. + public DelegatingHandler CreateHandler(); }