C-DEngine 5.105

WebSocketServer..::..UserCredentialsFinder Property

Gets or sets the delegate called to find the credentials for an identity used to authenticate a client.

Namespace:  WebSocketSharp.Server
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public Func<IIdentity, NetworkCredential> UserCredentialsFinder { get; set; }
Public Property UserCredentialsFinder As Func(Of IIdentity, NetworkCredential)
	Get
	Set
public:
property Func<IIdentity^, NetworkCredential^>^ UserCredentialsFinder {
	Func<IIdentity^, NetworkCredential^>^ get ();
	void set (Func<IIdentity^, NetworkCredential^>^ value);
}

Field Value

A Func<IIdentity, NetworkCredential> delegate that references the method(s) used to find the credentials. The default value is a function that only returns nullNothingnullptra null reference (Nothing in Visual Basic).