We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff9ab0f commit 46c9709Copy full SHA for 46c9709
1 file changed
src/WebEid.Security/Validator/AuthTokenValidatorBuilder.cs
@@ -177,6 +177,17 @@ public AuthTokenValidatorBuilder WithDesignatedOcspServiceConfiguration(Designat
177
return this;
178
}
179
180
+ /// <summary>
181
+ /// Configures a custom OCSP client for user certificate revocation checking.
182
+ /// </summary>
183
+ /// <returns>the builder instance for method chaining</returns>
184
+ public AuthTokenValidatorBuilder WithOcspClient(IOcspClient ocspClient)
185
+ {
186
+ this.ocspClient = ocspClient;
187
+ logger?.LogDebug("Custom OCSP client configured");
188
+ return this;
189
+ }
190
+
191
/// <summary>
192
/// Validates the configuration and builds the <see cref="AuthTokenValidator"/> object with it.
193
/// The returned <see cref="AuthTokenValidator"/> object is immutable/thread-safe.
0 commit comments