System::Net::Http::Headers::AuthenticationHeaderValue class

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

MethodDescription
AuthenticationHeaderValue(String)Constructor.
AuthenticationHeaderValue(String, String)Constructor.
Clone() overrideRTTI information.
Equals(System::SharedPtr<Object>) overrideCompares 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 overrideAnalog 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 overrideAnalog 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