Implements http digest access authentication. Defined in RFC 2617.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public class Auth_HttpDigest
Public Class Auth_HttpDigest
public ref class Auth_HttpDigest
type Auth_HttpDigest = class end
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Auth_HttpDigest(String, String) |
Default constructor.
| |
Auth_HttpDigest(String, String, String, String, String, String) |
Client constructor. This is used to build valid Authorization response to server.
| |
Auth_HttpDigest(String, String, String) |
Server constructor. This is used to build valid Authenticate response to client.
| |
Algorithm |
Gets or sets algorithm to use to produce the digest and a checksum.
This is normally MD5 or MD5-sess.
| |
Authenticate(String, String) |
Authenticates specified user and password using this class parameters.
| |
CalculateResponse(String, String) |
Calculates response value.
| |
CalculateRspAuth(String, String) |
Calculates 'rspauth' value.
| |
CNonce |
Gets or sets Client nonce value. This MUST be specified if a qop directive is sent (see above), and
MUST NOT be specified if the server did not send a qop directive in the WWW-Authenticate header field.
| |
CreateNonce()()()() |
Creates valid nonce value.
| |
CreateOpaque()()()() |
Creates valid opaque value.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Nonce |
Gets or sets a server-specified unique data string. It is recommended that this
string be base64 or hexadecimal data.
Suggested value: base64(time-stamp hex(time-stamp ":" ETag ":" private-key)).
| |
NonceCount |
Gets or stets nonce count. This MUST be specified if a qop directive is sent (see above), and
MUST NOT be specified if the server did not send a qop directive in the WWW-Authenticate
header field. The nc-value is the hexadecimal count of the number of requests.
| |
Opaque |
Gets or sets string of data, specified by the server, which should be returned by the client unchanged.
It is recommended that this string be base64 or hexadecimal data.
| |
Password |
Gets or sets password.
| |
Qop |
Gets or sets value what indicates "quality of protection" the client has applied to
the message. If present, its value MUST be one of the alternatives the server indicated
it supports in the WWW-Authenticate header. This directive is optional in order to preserve
backward compatibility.
| |
Realm |
Gets or sets a string to be displayed to users so they know which username and password
to use. This string should contain at least the name of the host performing the
authentication and might additionally indicate the collection of users who might have access.
An example might be "registered_users@gotham.news.com".
| |
RequestMethod |
Gets or sets request method.
| |
Response |
Gets a string of 32 hex digits computed by HTTP digest algorithm,
which proves that the user knows a password.
| |
ToAuthorization()()()() |
Creates 'Authorization' data using this class info.
| |
ToAuthorization(Boolean) |
Creates 'Authorization' data using this class info.
| |
ToChallange()()()() |
Creates 'Challange' data using this class info.
| |
ToChallange(Boolean) |
Creates 'Challange' data using this class info.
| |
ToString()()()() |
Converts this to valid digest string.
(Overrides Object.ToString()()()().) | |
Uri |
Gets the URI from Request-URI.
| |
UserName |
Gets or sets user name.
|
Inheritance Hierarchy
Object | |
Auth_HttpDigest |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119