AuthenticationHeaderValue Třída

Definice

Představuje ověřovací informace v autorizaci, ProxyAuthorization, WWW-Authenticate a Proxy-Authenticate hodnoty hlaviček.

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
Dědičnost
AuthenticationHeaderValue
Implementuje

Poznámky

Třída AuthenticationHeaderValue poskytuje podporu pro autorizaci, ProxyAuthorization, WWW-Authenticate a Proxy-Authenticate hodnoty hlaviček HTTP definované v RFC 2616 pomocí IETF.

Konstruktory

AuthenticationHeaderValue(String)

Inicializuje novou instanci AuthenticationHeaderValue třídy.

AuthenticationHeaderValue(String, String)

Inicializuje novou instanci AuthenticationHeaderValue třídy.

Vlastnosti

Parameter

Získá přihlašovací údaje obsahující ověřovací informace uživatelského agenta pro požadovaný prostředek.

Scheme

Získá schéma, které se má použít pro autorizaci.

Metody

Equals(Object)

Určuje, zda je zadaný Object objekt roven aktuálnímu AuthenticationHeaderValue objektu.

GetHashCode()

Slouží jako hashovací funkce objektu AuthenticationHeaderValue .

GetType()

Type Získá aktuální instanci.

(Zděděno od Object)
MemberwiseClone()

Vytvoří použádnou kopii aktuálního souboru Object.

(Zděděno od Object)
Parse(String)

Převede řetězec na AuthenticationHeaderValue instanci.

ToString()

Vrátí řetězec, který představuje aktuální AuthenticationHeaderValue objekt.

TryParse(String, AuthenticationHeaderValue)

Určuje, zda je řetězec platnými AuthenticationHeaderValue informacemi.

Explicitní implementace rozhraní

ICloneable.Clone()

Vytvoří nový objekt, který je kopií aktuální AuthenticationHeaderValue instance.

Platí pro