Skip to content

Commit b26f014

Browse files
Copilotdennisoehme
authored andcommitted
fix: make ITokenProvider.CreateHandler() public with proper XML docs
Fixes SA1615 (add <returns> 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.
1 parent 3e3ce34 commit b26f014

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Zitadel/Api/ITokenProvider.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ static ITokenProvider ServiceAccount(
3434
options);
3535
}
3636

37-
internal DelegatingHandler CreateHandler();
37+
/// <summary>
38+
/// Creates the delegating handler for the token provider.
39+
/// Made public to allow custom ITokenProvider implementations outside Zitadel.Net.
40+
/// </summary>
41+
/// <returns>A <see cref="DelegatingHandler"/> for the token provider.</returns>
42+
public DelegatingHandler CreateHandler();
3843
}

0 commit comments

Comments
 (0)