System::Net::Http::Headers::AuthenticationHeaderValue class
Contents
[
Hide
]AuthenticationHeaderValue class
Represents values of the ‘Authorization’, ‘ProxyAuthorization’, ‘WWW-Authenticate’, and ‘Proxy-Authenticate’ headers. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class AuthenticationHeaderValue : public System::ICloneable
Methods
Method | Description |
---|---|
AuthenticationHeaderValue(String) | Constructor. |
AuthenticationHeaderValue(String, String) | Constructor. |
Clone() override | RTTI information. |
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
get_Parameter() | Gets the credentials containing the authentication information. |
get_Scheme() | RTTI information. |
static GetAuthenticationLength(String, int32_t, System::SharedPtr<Object>&) | Parses the specified string and returns the last index of the string representation. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
static Parse(String) | Converts a passed string to an instance of the AuthenticationHeaderValue class. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static TryParse(String, System::SharedPtr<AuthenticationHeaderValue>&) | Trying to convert a passed string to an instance of the AuthenticationHeaderValue class. |
See Also
- Class ICloneable
- Namespace System::Net::Http::Headers
- Library Aspose.PDF for C++