1.0.13 • Published 7 years ago

@asi-fr/graph v1.0.13

Weekly downloads
12
License
UNLICENSED
Repository
-
Last release
7 years ago

ASI Graph

A library for Graph API request

Installation

npm install @asi/graph

Usage

##JS

var msalConfig = {
    "clientId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
    "authority": "https://login.microsoftonline.com/xxxx",
    "options": {
        "cacheLocation": "localStorage"
    },
    "scopes": ["mail.read", "user.read.all"],
    "customOptions": {
        "popupLogin": false
    }
}
var graphApi = require('@asi-fr/graph')(msalConfig);

##TS

import Msal from "@asi-fr/graph";

const msalConfig = {
    "clientId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
    "authority": "https://login.microsoftonline.com/xxxx",
    "options": {
        "cacheLocation": "localStorage"
    },
    "scopes": ["mail.read", "user.read.all"],
    "customOptions": {
        "popupLogin": false
    }
}
var test = Msal(msalConfig);

Tests

npm test

Contributing

No contribution allowed

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago