File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ are used.
40
40
See [ Usage] ( #usage ) for example configurations, and the included [ Example] ( Example ) application for
41
41
a working sample.
42
42
43
- ### authorize
43
+ ### ` authorize `
44
44
45
45
This is the main function to use for authentication. Invoking this function will do the whole login
46
46
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);
54
54
// returns accessToken, accessTokenExpirationDate and refreshToken
55
55
```
56
56
57
- ### refresh
57
+ ### ` refresh `
58
58
59
59
This method will refresh the accessToken using the refreshToken. Some auth providers will also give
60
60
you a new refreshToken
@@ -64,7 +64,7 @@ const result = await appAuth.refresh(refreshToken, scopes);
64
64
// returns accessToken, accessTokenExpirationDate and (maybe) refreshToken
65
65
```
66
66
67
- ### revokeToken
67
+ ### ` revokeToken `
68
68
69
69
This method will revoke a token. The tokenToRevoke can be either an accessToken or a refreshToken
70
70
You can’t perform that action at this time.
0 commit comments