File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,12 @@ Include the library in your JavaScript file with `const MicrosoftGraph = require
1919Include [ lib/graph-js-sdk-web.js] ( https://github.com/microsoftgraph/msgraph-sdk-javascript/raw/master/lib/graph-js-sdk-web.js ) in your page.
2020``` html
2121<script type =" text/javascript" src =" graph-js-sdk-web.js" ></script >
22- <script type =" text/javascript" >
23- const client = MicrosoftGraph .Client .init ({
24- authProvider : (done ) => {
25- done (null , " PassInAccessTokenHere" ); // first parameter takes an error if you can't get an access token
26- }
27- });
28- ...
29- </script >
3022```
3123## Changelog
3224#### 0.2.0
3325* Initialize the client library with ` MicrosoftGraph.Client.init({...}) `
3426* Added response handling tests to simulate Graph calls
35- * Added type declarations file for core client library, which adds intelisense for chained methods.
27+ * Added type declarations file for core client library, which adds intellisense for chained methods.
3628
3729
3830## Usage
You can’t perform that action at this time.
0 commit comments