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