AuthenticationHeaderValue Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 HTTP Authorization, ProxyAuthorization, WWW-Authenticate et Proxy-Authenticate, telles que définies dans la 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. |