Udostępnij za pośrednictwem


AuthenticationHeaderValue Klasa

Definicja

Reprezentuje informacje uwierzytelniania w wartościach nagłówków Authorization, ProxyAuthorization, WWW-Authentication i Proxy-Authenticate.

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
Dziedziczenie
AuthenticationHeaderValue
Implementuje

Uwagi

Klasa AuthenticationHeaderValue zapewnia obsługę wartości nagłówków Authorization, ProxyAuthorization, WWW-Authentication i Proxy-Authenticate http zdefiniowanych w dokumencie RFC 2616 przez IETF.

Konstruktory

Nazwa Opis
AuthenticationHeaderValue(String, String)

Inicjuje nowe wystąpienie klasy AuthenticationHeaderValue.

AuthenticationHeaderValue(String)

Inicjuje nowe wystąpienie klasy AuthenticationHeaderValue.

Właściwości

Nazwa Opis
Parameter

Pobiera poświadczenia zawierające informacje o uwierzytelnianiu agenta użytkownika dla żądanego zasobu.

Scheme

Pobiera schemat do użycia do autoryzacji.

Metody

Nazwa Opis
Equals(Object)

Określa, czy określony Object jest równy bieżącemu AuthenticationHeaderValue obiektowi.

GetHashCode()

Służy jako funkcja skrótu AuthenticationHeaderValue dla obiektu.

GetType()

Pobiera Type bieżącego wystąpienia.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Object.

(Odziedziczone po Object)
Parse(String)

Konwertuje ciąg na AuthenticationHeaderValue wystąpienie.

ToString()

Zwraca ciąg reprezentujący bieżący AuthenticationHeaderValue obiekt.

TryParse(String, AuthenticationHeaderValue)

Określa, czy ciąg jest prawidłowymi AuthenticationHeaderValue informacjami.

Jawne implementacje interfejsu

Nazwa Opis
ICloneable.Clone()

Tworzy nowy obiekt, który jest kopią bieżącego AuthenticationHeaderValue wystąpienia.

Dotyczy