Renamed AuthResponse property to AuthenticationResponse property
This commit is contained in:
parent
e45e51e1ef
commit
42bc2b52cd
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user