Skip to content

Commit 8ccf60c

Browse files
nikithauczengin
andauthored
Update docs/TokenCredentialAuthenticationProvider.md
Co-authored-by: Mustafa Zengin <[email protected]>
1 parent f54101f commit 8ccf60c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/TokenCredentialAuthenticationProvider.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ The `TokenCredentialAuthenticationProvider` and the `TokenCredentialAuthenticati
5959

6060
The browser use of the file is as follows:
6161

62-
```javascript
63-
// include the script
62+
```html
63+
<!-- include the script -->
6464
<script type="text/javascript" src="<PATH_TO_SCRIPT>/graph-client-tokenCredentialAuthProvider.js"></script>;
65-
6665
// create an authProvider
6766
var authProvider = new MicrosoftGraph.TokenCredentialAuthProvider.TokenCredentialAuthenticationProvider(tokenCred, { scopes: scopes });
6867

0 commit comments

Comments
 (0)