Skip to content

Commit 04ce3b4

Browse files
update formatting
1 parent 48daeaf commit 04ce3b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/static-web-apps/user-information.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can send a `GET` request to the `/.auth/me` route and receive direct access
4343

4444
For logged-in users, the response contains a client principal JSON object. Requests from unauthenticated users returns `null`.
4545

46-
Using the [fetch](https://developer.mozilla.org/docs/Web/API/Fetch_API/Using_Fetch)\* API, you can access the client principal data using the following syntax.
46+
Using the [fetch](https://developer.mozilla.org/docs/Web/API/Fetch_API/Using_Fetch)<sup>1</sup> API, you can access the client principal data using the following syntax.
4747

4848
```javascript
4949
async function getUserInfo() {
@@ -60,7 +60,7 @@ console.log(getUserInfo());
6060

6161
Client principal data is passed to API functions in the `x-ms-client-principal` request header. The client principal data is sent as a [Base64](https://www.wikipedia.org/wiki/Base64)-encoded string containing a serialized JSON object.
6262

63-
The following example function, named `user`, shows how to read and return user information.
63+
The following example function shows how to read and return user information.
6464

6565
```javascript
6666
module.exports = async function (context, req) {
@@ -76,7 +76,7 @@ module.exports = async function (context, req) {
7676
};
7777
```
7878

79-
Using the [fetch](https://developer.mozilla.org/docs/Web/API/Fetch_API/Using_Fetch)\* browser API, you can access the API's response using the following syntax.
79+
Assuming the above function is named `user`, you can use the [fetch](https://developer.mozilla.org/docs/Web/API/Fetch_API/Using_Fetch)<sup>1</sup> browser API to access the API's response using the following syntax.
8080

8181
```javascript
8282
async function getUser() {
@@ -89,7 +89,7 @@ async function getUser() {
8989
console.log(getUser());
9090
```
9191

92-
\* The [fetch](https://caniuse.com/#feat=fetch) API and [await](https://caniuse.com/#feat=mdn-javascript_operators_await) operator aren't supported in Internet Explorer.
92+
<sup>1</sup> The [fetch](https://caniuse.com/#feat=fetch) API and [await](https://caniuse.com/#feat=mdn-javascript_operators_await) operator aren't supported in Internet Explorer.
9393

9494
## Next steps
9595

0 commit comments

Comments
 (0)