Skip to content

Commit 814e36e

Browse files
authored
Add Base64URL key ID decoding instructions
1 parent edaf309 commit 814e36e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

api-reference/beta/api/fido2authenticationmethod-creationoptions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Don't supply a request body for this method.
5959

6060
If successful, this function returns a `200 OK` response code and a [webauthnCredentialCreationOptions](../resources/webauthncredentialcreationoptions.md) in the response body.
6161

62+
This method also returns **excludeCredentials** key IDs formatted in Base64URL with a padding number suffix. To decode the key IDs, convert the trailing integer value of 0, 1, or 2 to the same number of base64 padding characters.
63+
6264
## Examples
6365

6466
### Request
@@ -100,9 +102,7 @@ GET https://graph.microsoft.com/beta/users/{usersId}/authentication/fido2Methods
100102

101103
The following example shows the response.
102104

103-
> [!NOTE]
104-
> * The **creationOptions** request returns **excludeCredentials** key IDs formatted in Base64URL with a padding number suffix. To decode the key IDs, convert the trailing integer value of 0, 1, or 2 to the same number of base64 padding characters.
105-
> * The response object shown here might be shortened for readability.
105+
> **Note:** The response object shown here might be shortened for readability.
106106
107107
<!-- {
108108
"blockType": "response",

api-reference/beta/api/fido2authenticationmethod-get.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ Don't supply a request body for this method.
5959

6060
If successful, this method returns a `200 OK` response code and the requested [fido2AuthenticationMethod](../resources/fido2authenticationmethod.md) object in the response body.
6161

62+
This method also returns credentials key IDs formatted in Base64URL with a padding number suffix. To decode the key IDs, convert the trailing integer value of 0, 1, or 2 to the same number of base64 padding characters.
63+
6264
## Examples
6365

6466
### Request
65-
67+
The following example shows a request.
6668

6769
# [HTTP](#tab/http)
6870
<!-- {
@@ -112,9 +114,7 @@ GET https://graph.microsoft.com/beta/me/authentication/fido2Methods/-2_GRUg2-HYz
112114
### Response
113115
The following example shows the response.
114116

115-
> [!NOTE]
116-
> * The FIDO2 authentication method request returns credentials key IDs formatted in Base64URL with a padding number suffix. To decode the key IDs, convert the trailing integer value of 0, 1, or 2 to the same number of base64 padding characters.
117-
> * The response object shown here might be shortened for readability.
117+
>**Note:** The response object shown here might be shortened for readability.
118118
119119
<!-- {
120120
"blockType": "response",

0 commit comments

Comments
 (0)