Click or drag to resize

HttpListenerAuthenticationSchemeSelector Property

Gets or sets the delegate called to select the scheme used to authenticate the clients.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public Func<HttpListenerRequest, AuthenticationSchemes> AuthenticationSchemeSelector { get; set; }

Property Value

Type: FuncHttpListenerRequest, AuthenticationSchemes
A Func<HttpListenerRequest, AuthenticationSchemes> delegate that references the method used to select an authentication scheme. The default value is .
Exceptions
ExceptionCondition
ObjectDisposedException This listener has been closed.
Remarks
If you set this property, the listener uses the authentication scheme selected by the delegate for each request. Or if you don't set, the listener uses the value of the AuthenticationSchemes property as the authentication scheme for all requests.
See Also