|
|
|
|
@ -609,22 +609,32 @@ namespace WebSocketSharp.Server
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the delegate used to find the credentials for an identity.
|
|
|
|
|
/// Gets or sets the delegate used to find the credentials for
|
|
|
|
|
/// an identity.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>
|
|
|
|
|
/// The set operation does nothing if the server has already started or
|
|
|
|
|
/// it is shutting down.
|
|
|
|
|
/// <para>
|
|
|
|
|
/// The set operation does nothing if the server has already
|
|
|
|
|
/// started or it is shutting down.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// No credentials are found if the method invoked by
|
|
|
|
|
/// the delegate returns <see langword="null"/> or
|
|
|
|
|
/// the value is <see langword="null"/>.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// </remarks>
|
|
|
|
|
/// <value>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// A <c>Func<IIdentity, NetworkCredential></c> delegate or
|
|
|
|
|
/// <see langword="null"/> if not needed. The default value is
|
|
|
|
|
/// <see langword="null"/>.
|
|
|
|
|
/// <see langword="null"/> if not needed.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// That delegate invokes the method called for finding
|
|
|
|
|
/// the credentials used to authenticate a client.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// The default value is <see langword="null"/>.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// </value>
|
|
|
|
|
public Func<IIdentity, NetworkCredential> UserCredentialsFinder {
|
|
|
|
|
get {
|
|
|
|
|
|