@@ -199,7 +199,7 @@ public ProxyServer(string rootCertificateName, string rootCertificateIssuerName,
199199 /// <summary>
200200 /// Realm used during Proxy Basic Authentication.
201201 /// </summary>
202- public string ProxyRealm { get ; set ; } = "TitaniumProxy" ;
202+ public string ProxyAuthenticationRealm { get ; set ; } = "TitaniumProxy" ;
203203
204204 /// <summary>
205205 /// List of supported Ssl versions.
@@ -263,23 +263,24 @@ public ExceptionHandler ExceptionFunc
263263 }
264264
265265 /// <summary>
266- /// A callback to authenticate clients.
266+ /// A callback to authenticate proxy clients via basic authentication .
267267 /// Parameters are username and password as provided by client.
268268 /// Should return true for successful authentication.
269269 /// </summary>
270- public Func < string , string , Task < bool > > AuthenticateUserFunc { get ; set ; }
270+ public Func < string , string , Task < bool > > ProxyBasicAuthenticateFunc { get ; set ; }
271271
272272 /// <summary>
273- /// A pluggable callback to authenticate clients by scheme instead of requiring basic auth .
274- /// Parameters are current working session, schemeType, and token as provided by a calling client.
275- /// Should return success for successful authentication, continuation if the package requests, or failure.
273+ /// A pluggable callback to authenticate clients by scheme instead of requiring basic authentication through ProxyBasicAuthenticateFunc .
274+ /// Parameters are current working session, schemeType, and token as provided by a calling client.
275+ /// Should return success for successful authentication, continuation if the package requests, or failure.
276276 /// </summary>
277- public Func < SessionEventArgsBase , string , string , Task < ProxyAuthenticationContext > > AuthenticateSchemeFunc { get ; set ; }
277+ public Func < SessionEventArgsBase , string , string , Task < ProxyAuthenticationContext > > ProxySchemeAuthenticateFunc { get ; set ; }
278278
279279 /// <summary>
280- /// A collection of scheme types, e.g. basic, NTLM, Kerberos, Negotiate, to return if authentication is required.
280+ /// A collection of scheme types, e.g. basic, NTLM, Kerberos, Negotiate, to return if scheme authentication is required.
281+ /// Works in relation with ProxySchemeAuthenticateFunc.
281282 /// </summary>
282- public IEnumerable < string > SupportedAuthenticationSchemes { get ; set ; } = new string [ 0 ] ;
283+ public IEnumerable < string > ProxyAuthenticationSchemes { get ; set ; } = new string [ 0 ] ;
283284
284285 /// <summary>
285286 /// Dispose the Proxy instance.
0 commit comments