Moved some properties to AuthenticationBase class
This commit is contained in:
parent
d85dc01897
commit
a4fe878a8e
@ -58,6 +58,36 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
|
public string Algorithm {
|
||||||
|
get {
|
||||||
|
return Parameters["algorithm"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Nonce {
|
||||||
|
get {
|
||||||
|
return Parameters["nonce"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Opaque {
|
||||||
|
get {
|
||||||
|
return Parameters["opaque"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Qop {
|
||||||
|
get {
|
||||||
|
return Parameters["qop"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Realm {
|
||||||
|
get {
|
||||||
|
return Parameters["realm"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public AuthenticationSchemes Scheme {
|
public AuthenticationSchemes Scheme {
|
||||||
get {
|
get {
|
||||||
return _scheme;
|
return _scheme;
|
||||||
|
@ -60,42 +60,12 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
public string Algorithm {
|
|
||||||
get {
|
|
||||||
return Parameters["algorithm"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Domain {
|
public string Domain {
|
||||||
get {
|
get {
|
||||||
return Parameters["domain"];
|
return Parameters["domain"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Nonce {
|
|
||||||
get {
|
|
||||||
return Parameters["nonce"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Opaque {
|
|
||||||
get {
|
|
||||||
return Parameters["opaque"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Qop {
|
|
||||||
get {
|
|
||||||
return Parameters["qop"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Realm {
|
|
||||||
get {
|
|
||||||
return Parameters["realm"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Stale {
|
public string Stale {
|
||||||
get {
|
get {
|
||||||
return Parameters["stale"];
|
return Parameters["stale"];
|
||||||
|
@ -99,12 +99,6 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
public string Algorithm {
|
|
||||||
get {
|
|
||||||
return Parameters["algorithm"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Cnonce {
|
public string Cnonce {
|
||||||
get {
|
get {
|
||||||
return Parameters["cnonce"];
|
return Parameters["cnonce"];
|
||||||
@ -117,36 +111,12 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Nonce {
|
|
||||||
get {
|
|
||||||
return Parameters["nonce"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Opaque {
|
|
||||||
get {
|
|
||||||
return Parameters["opaque"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Password {
|
public string Password {
|
||||||
get {
|
get {
|
||||||
return Parameters["password"];
|
return Parameters["password"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Qop {
|
|
||||||
get {
|
|
||||||
return Parameters["qop"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Realm {
|
|
||||||
get {
|
|
||||||
return Parameters["realm"];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Response {
|
public string Response {
|
||||||
get {
|
get {
|
||||||
return Parameters["response"];
|
return Parameters["response"];
|
||||||
|
Loading…
Reference in New Issue
Block a user