AuthenticationHeaderValue Klasa

Definicja

Reprezentuje informacje uwierzytelniania w wartościach nagłówków Autoryzacja, 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 nagłówków HTTP zgodnie z definicją w dokumencie RFC 2616 przez IETF.

Konstruktory

AuthenticationHeaderValue(String)

Inicjuje nowe wystąpienie klasy AuthenticationHeaderValue.

AuthenticationHeaderValue(String, String)

Inicjuje nowe wystąpienie klasy AuthenticationHeaderValue.

Właściwości

Parameter

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

Scheme

Pobiera schemat do użycia do autoryzacji.

Metody

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()

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
MemberwiseClone()

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

(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

ICloneable.Clone()

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

Dotyczy