AuthenticationHeaderValue Classe

Définition

Représente les informations d’authentification dans les valeurs d’en-tête Authorization, ProxyAuthorization, WWW-Authenticate et 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
Héritage
AuthenticationHeaderValue
Implémente

Remarques

La AuthenticationHeaderValue classe prend en charge l’autorisation, proxyAuthorization, WWW-Authentication et Proxy-Authenticate valeurs d’en-tête HTTP définies dans RFC 2616 par l’IETF.

Constructeurs

AuthenticationHeaderValue(String)

Initialise une nouvelle instance de la classe AuthenticationHeaderValue.

AuthenticationHeaderValue(String, String)

Initialise une nouvelle instance de la classe AuthenticationHeaderValue.

Propriétés

Parameter

Obtient les informations d’identification contenant les informations d’authentification de l’agent utilisateur pour la ressource demandée.

Scheme

Obtient le schéma à utiliser pour l’autorisation.

Méthodes

Equals(Object)

Détermine si l'objet Object spécifié est égal à l'objet AuthenticationHeaderValue actuel.

GetHashCode()

Sert de fonction de hachage pour un objet AuthenticationHeaderValue.

GetType()

Obtient le Type de l'instance actuelle.

(Hérité de Object)
MemberwiseClone()

Crée une copie superficielle du Object actuel.

(Hérité de Object)
Parse(String)

Convertit une chaîne en instance AuthenticationHeaderValue.

ToString()

Retourne une chaîne qui représente l'objet AuthenticationHeaderValue actuel.

TryParse(String, AuthenticationHeaderValue)

Détermine si une chaîne est une information AuthenticationHeaderValue valide.

Implémentations d’interfaces explicites

ICloneable.Clone()

Crée un objet qui est une copie de l'instance AuthenticationHeaderValue actuelle.

S’applique à