[Modify] Edit it

This commit is contained in:
sta 2017-06-06 15:46:55 +09:00
parent a32815cfdf
commit 8e5baaea54

View File

@ -580,13 +580,33 @@ namespace WebSocketSharp.Server
} }
/// <summary> /// <summary>
/// Gets or sets the delegate called to find the credentials for an identity used to /// Gets or sets the delegate used to find the credentials
/// authenticate a client. /// for an identity.
/// </summary> /// </summary>
/// <remarks>
/// <para>
/// No credentials are found if the method invoked by
/// the delegate returns <see langword="null"/> or
/// the value is <see langword="null"/>.
/// </para>
/// <para>
/// The set operation does nothing if the server has
/// already started or it is shutting down.
/// </para>
/// </remarks>
/// <value> /// <value>
/// A <c>Func&lt;<see cref="IIdentity"/>, <see cref="NetworkCredential"/>&gt;</c> delegate /// <para>
/// that references the method(s) used to find the credentials. The default value is /// A <c>Func&lt;<see cref="IIdentity"/>,
/// <see langword="null"/>. /// <see cref="NetworkCredential"/>&gt;</c> delegate or
/// <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> /// </value>
public Func<IIdentity, NetworkCredential> UserCredentialsFinder { public Func<IIdentity, NetworkCredential> UserCredentialsFinder {
get { get {