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 #region Public Properties
public AuthenticationResponse AuthResponse { public AuthenticationResponse AuthenticationResponse {
get { get {
var auth = Headers["Authorization"]; var res = Headers["Authorization"];
return auth != null && auth.Length > 0 return res != null && res.Length > 0
? AuthenticationResponse.Parse (auth) ? AuthenticationResponse.Parse (res)
: null; : null;
} }
} }

View File

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