Renamed AuthResponse property to AuthenticationResponse property

This commit is contained in:
sta 2014-07-15 16:49:24 +09:00
parent e45e51e1ef
commit 42bc2b52cd
2 changed files with 5 additions and 5 deletions

View File

@ -67,11 +67,11 @@ namespace WebSocketSharp
#region Public Properties
public AuthenticationResponse AuthResponse {
public AuthenticationResponse AuthenticationResponse {
get {
var auth = Headers["Authorization"];
return auth != null && auth.Length > 0
? AuthenticationResponse.Parse (auth)
var res = Headers["Authorization"];
return res != null && res.Length > 0
? AuthenticationResponse.Parse (res)
: null;
}
}

View File

@ -337,7 +337,7 @@ namespace WebSocketSharp.Net.WebSockets
string realm,
Func<IIdentity, NetworkCredential> credentialsFinder)
{
var authRes = _request.AuthResponse;
var authRes = _request.AuthenticationResponse;
if (authRes == null)
return;