Skip to content

Commit b3e0dbb

Browse files
committed
Allow custom ITokenProvider implementation to support header modification
Currently, the ITokenProvider interface is public, but its required method CreateHandler() is internal, which prevents consumers from creating their own implementations outside of the Zitadel.Net assembly.
1 parent 3e3ce34 commit b3e0dbb

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+
public DelegatingHandler CreateHandler();
3842
}
43+

0 commit comments

Comments
 (0)