[Modify] Polish it
This commit is contained in:
parent
4f13fcb423
commit
1b6e894d6d
@ -392,9 +392,9 @@ namespace WebSocketSharp.Net
|
|||||||
/// authenticate a client.
|
/// authenticate a client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>
|
/// <value>
|
||||||
/// A <c>Func<<see cref="IIdentity"/>, <see cref="NetworkCredential"/>></c> delegate that
|
/// A <c>Func<<see cref="IIdentity"/>, <see cref="NetworkCredential"/>></c> delegate
|
||||||
/// references the method used to find the credentials. The default value is a function that
|
/// that references the method used to find the credentials. The default value is
|
||||||
/// only returns <see langword="null"/>.
|
/// <see langword="null"/>.
|
||||||
/// </value>
|
/// </value>
|
||||||
/// <exception cref="ObjectDisposedException">
|
/// <exception cref="ObjectDisposedException">
|
||||||
/// This listener has been closed.
|
/// This listener has been closed.
|
||||||
@ -402,7 +402,7 @@ namespace WebSocketSharp.Net
|
|||||||
public Func<IIdentity, NetworkCredential> UserCredentialsFinder {
|
public Func<IIdentity, NetworkCredential> UserCredentialsFinder {
|
||||||
get {
|
get {
|
||||||
CheckDisposed ();
|
CheckDisposed ();
|
||||||
return _userCredFinder ?? (_userCredFinder = id => null);
|
return _userCredFinder;
|
||||||
}
|
}
|
||||||
|
|
||||||
set {
|
set {
|
||||||
|
Loading…
Reference in New Issue
Block a user