Click or drag to resize

HttpServerUserCredentialsFinder Property

Gets or sets the delegate used to find the credentials for an identity.

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public Func<IIdentity, NetworkCredential> UserCredentialsFinder { get; set; }

Property Value

Type: FuncIIdentity, NetworkCredential

A Func<IIdentity, NetworkCredential> delegate or if not needed.

That delegate invokes the method called for finding the credentials used to authenticate a client.

The default value is .

Remarks

No credentials are found if the method invoked by the delegate returns or the value is .

The set operation does nothing if the server has already started or it is shutting down.

See Also