AuthenticationHeaderValue AuthenticationHeaderValue AuthenticationHeaderValue AuthenticationHeaderValue Class

Definition

Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values.

public ref class AuthenticationHeaderValue : ICloneable
public class AuthenticationHeaderValue : ICloneable
type AuthenticationHeaderValue = class
    interface ICloneable
Public Class AuthenticationHeaderValue
Implements ICloneable
Inheritance
AuthenticationHeaderValueAuthenticationHeaderValueAuthenticationHeaderValueAuthenticationHeaderValue
Implements

Remarks

The AuthenticationHeaderValue class provides support for the Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate HTTP header values as defined in RFC 2616 by the IETF.

Constructors

AuthenticationHeaderValue(String) AuthenticationHeaderValue(String) AuthenticationHeaderValue(String) AuthenticationHeaderValue(String)

Initializes a new instance of the AuthenticationHeaderValue class.

AuthenticationHeaderValue(String, String) AuthenticationHeaderValue(String, String) AuthenticationHeaderValue(String, String) AuthenticationHeaderValue(String, String)

Initializes a new instance of the AuthenticationHeaderValue class.

Properties

Parameter Parameter Parameter Parameter

Gets the credentials containing the authentication information of the user agent for the resource being requested.

Scheme Scheme Scheme Scheme

Gets the scheme to use for authorization.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the current AuthenticationHeaderValue object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for an AuthenticationHeaderValue object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String) Parse(String) Parse(String) Parse(String)

Converts a string to an AuthenticationHeaderValue instance.

ToString() ToString() ToString() ToString()

Returns a string that represents the current AuthenticationHeaderValue object.

TryParse(String, AuthenticationHeaderValue) TryParse(String, AuthenticationHeaderValue) TryParse(String, AuthenticationHeaderValue) TryParse(String, AuthenticationHeaderValue)

Determines whether a string is valid AuthenticationHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

Creates a new object that is a copy of the current AuthenticationHeaderValue instance.

Applies to