aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/passwordcredential/name/index.md
blob: f48ae976dfa7f031a1b75cf1954b7385e033c9d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: PasswordCredential.name
slug: Web/API/PasswordCredential/name
tags:
  - API
  - Credential Management API
  - PasswordCredential
  - Propriété
  - Reference
translation_of: Web/API/PasswordCredential/name
---
{{SeeCompatTable}}{{APIRef("")}}

La propriété **`name`** est accessible en lecture seule et est rattachée à l'interface {{domxref("PasswordCredential")}}. C'est une chaîne de caractères {{domxref("USVSTring")}} qui contient un nom public, compréhensible pour un humain et qui est destiné à être affiché dans un sélecteur de fournisseur d'authentification.

## Syntaxe

    name = passwordCredential.name

### Valeur

A {{domxref("USVString")}} containing a name.

## Spécifications

| Spécification                                                                                        | État                                         | Commentaires          |
| ---------------------------------------------------------------------------------------------------- | -------------------------------------------- | --------------------- |
| {{SpecName('Credential Management','#dom-credentialuserdata-name','name')}} | {{Spec2('Credential Management')}} | Définition initiale.. |

## Compatibilité des navigateurs

{{Compat("api.PasswordCredential.name")}}