Skip to content

Commit a66437f

Browse files
authored
Merge pull request #25 from FormidableLabs/patch-readme
Update README method formatting
2 parents ba46461 + 83cf7cd commit a66437f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ are used.
4040
See [Usage](#usage) for example configurations, and the included [Example](Example) application for
4141
a working sample.
4242

43-
### authorize
43+
### `authorize`
4444

4545
This is the main function to use for authentication. Invoking this function will do the whole login
4646
flow and returns the access token, refresh token and access token expiry date when successful, or it
@@ -54,7 +54,7 @@ const result = await appAuth.authorize(scopes);
5454
// returns accessToken, accessTokenExpirationDate and refreshToken
5555
```
5656

57-
### refresh
57+
### `refresh`
5858

5959
This method will refresh the accessToken using the refreshToken. Some auth providers will also give
6060
you a new refreshToken
@@ -64,7 +64,7 @@ const result = await appAuth.refresh(refreshToken, scopes);
6464
// returns accessToken, accessTokenExpirationDate and (maybe) refreshToken
6565
```
6666

67-
### revokeToken
67+
### `revokeToken`
6868

6969
This method will revoke a token. The tokenToRevoke can be either an accessToken or a refreshToken
7070

0 commit comments

Comments
 (0)