From 6f1a502923caadbd5a6b79daaeeaa8cea294f99a Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Tue, 10 Oct 2023 11:32:39 +1100 Subject: [PATCH] code review - hints fixes --- files/en-us/web/api/credentialscontainer/create/index.md | 4 ++-- files/en-us/web/api/credentialscontainer/get/index.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/en-us/web/api/credentialscontainer/create/index.md b/files/en-us/web/api/credentialscontainer/create/index.md index 84b4c455add2d4a..010d7c11e4a9a06 100644 --- a/files/en-us/web/api/credentialscontainer/create/index.md +++ b/files/en-us/web/api/credentialscontainer/create/index.md @@ -253,9 +253,9 @@ The `publicKey` object can contain the following properties: - `hints` {{optional_inline}} - - : A array of "hint" strings that to guide the user-agent in what sort of UI it might use to interact with the user. + - : An array of strings providing hints as to what authentication UI the user-agent should provide for the user. - The value can be one of the following: + The values can be any of the following: - `"security-key"` - : Authentication requires a separate dedicated physical device to provide the key. diff --git a/files/en-us/web/api/credentialscontainer/get/index.md b/files/en-us/web/api/credentialscontainer/get/index.md index 9e5c428bc579801..03526e9ae5c9922 100644 --- a/files/en-us/web/api/credentialscontainer/get/index.md +++ b/files/en-us/web/api/credentialscontainer/get/index.md @@ -242,7 +242,7 @@ The [Web Authentication API](/en-US/docs/Web/API/Web_Authentication_API) enables - `transports` - - : An array of strings providing hints as to the methods the client could use to communicate with the relevant authenticator of the public key credential to retrieve. Possible transports are: `"ble"`, `"hybrid"`, `"internal"`, `"nfc"`, and `"usb"` (see {{domxref("AuthenticatorAttestationResponse.getTransports", "getTransports()")}} for more details). + - : An array of strings providing hints as to the methods the client could use to communicate with the relevant authenticator of the public key credential to retrieve. Possible transports are: `"ble"`, `"hybrid"`, `"internal"`, `"nfc"`, and `"usb"`. > **Note:** This value is mirrored by the return value of the {{domxref("AuthenticatorAttestationResponse.getTransports", "PublicKeyCredential.response.getTransports()")}} method of the {{domxref("PublicKeyCredential")}} object returned by the `create()` call that originally created the credential. > At that point, it should be stored by the app for later use. @@ -319,9 +319,9 @@ The [Web Authentication API](/en-US/docs/Web/API/Web_Authentication_API) enables - `hints` {{optional_inline}} - - : A array of "hint" strings that to guide the user-agent in what sort of UI it might use to interact with the user. + - : An array of strings providing hints as to what authentication UI the user-agent should provide for the user. - The value can be one of the following: + The values can be any of the following: - `"security-key"` - : Authentication requires a separate dedicated physical device to provide the key.