blob: 7fcb6f1c843be05ec91799ff76311a4215a9e10d (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
---
title: PasswordCredential.password
slug: Web/API/PasswordCredential/password
tags:
- API
- Credential Management API
- PasswordCredential
- Propriété
- Reference
translation_of: Web/API/PasswordCredential/password
---
<p>{{SeeCompatTable}}{{APIRef("")}}</p>
<p>La propriété <strong><code>password</code></strong> est une propriété accessible en lecture seule rattachée à l'interface {{domxref("PasswordCredential")}} et fournit une chaîne de caractères {{domxref("USVString")}} contenant le mot de passe lié aux informations d'authentification.</p>
<h2 id="Syntaxe">Syntaxe</h2>
<pre class="syntaxbox"><em>password</em> = <em>passwordCredential</em>.password</pre>
<h3 id="Valeur">Valeur</h3>
<p>Une chaîne de caractères {{domxref("USVString")}} contenant le mot de passe.</p>
<h2 id="Spécifications">Spécifications</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Spécification</th>
<th scope="col">État</th>
<th scope="col">Commentaires</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('Credential Management','#dom-passwordcredential-password','password')}}</td>
<td>{{Spec2('Credential Management')}}</td>
<td>Définition initiale.</td>
</tr>
</tbody>
</table>
<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div>
<p>{{Compat("api.PasswordCredential.password")}}</p>
|