Uredi

Deli z drugimi prek


AuthenticationHeaderValue Class

Definition

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

public ref class AuthenticationHeaderValue
public ref class AuthenticationHeaderValue : ICloneable
public class AuthenticationHeaderValue
public class AuthenticationHeaderValue : ICloneable
type AuthenticationHeaderValue = class
type AuthenticationHeaderValue = class
    interface ICloneable
Public Class AuthenticationHeaderValue
Public Class AuthenticationHeaderValue
Implements ICloneable
Inheritance
AuthenticationHeaderValue
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, String)

Initializes a new instance of the AuthenticationHeaderValue class.

AuthenticationHeaderValue(String)

Initializes a new instance of the AuthenticationHeaderValue class.

Properties

Parameter

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

Scheme

Gets the scheme to use for authorization.

Methods

Equals(Object)

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

GetHashCode()

Serves as a hash function for an AuthenticationHeaderValue object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String)

Converts a string to an AuthenticationHeaderValue instance.

ToString()

Returns a string that represents the current AuthenticationHeaderValue object.

TryParse(String, AuthenticationHeaderValue)

Determines whether a string is valid AuthenticationHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone()

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

Applies to