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 les valeurs d’en-tête AUTHORIZATION, ProxyAuthorization, WWW-Authenticate et Proxy-Authenticate HTTP définies dans RFC 2616 par l’IETF.

Constructeurs

Nom Description
AuthenticationHeaderValue(String, String)

Initialise une nouvelle instance de la classe AuthenticationHeaderValue.

AuthenticationHeaderValue(String)

Initialise une nouvelle instance de la classe AuthenticationHeaderValue.

Propriétés

Nom Description
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

Nom Description
Equals(Object)

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

GetHashCode()

Sert de fonction de hachage pour un AuthenticationHeaderValue objet.

GetType()

Obtient la Type de l’instance actuelle.

(Hérité de Object)
MemberwiseClone()

Crée une copie superficielle du Objectactuel.

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

Convertit une chaîne en instance AuthenticationHeaderValue .

ToString()

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

TryParse(String, AuthenticationHeaderValue)

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

Implémentations d’interfaces explicites

Nom Description
ICloneable.Clone()

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

S’applique à