{"_id":"@aminebizid/nativescript-adal","_rev":"4-f5a35a2246f88aa9dd1b04e175a0029b","name":"@aminebizid/nativescript-adal","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.6":{"name":"@aminebizid/nativescript-adal","version":"1.0.6","description":"A NativeScript plugin for Microsoft's Active Directory Authentication Library.","author":{"name":"Yves Candel"},"repository":{"type":"git","url":"git+https://github.com/NavaraBV/nativescript-adal.git"},"license":"MIT","main":"adal","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.0.0","ios":"3.0.0"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo && npm link @aminebizid/nativescript-adal && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles","demo.android":"npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles","demo.reset":"cd ../demo && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo && tns plugin remove @aminebizid/nativescript-adal && tns plugin add ../src","clean":"cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'"},"keywords":["NativeScript","JavaScript","Android","iOS"],"bugs":{"url":"https://github.com/NavaraBV/nativescript-adal/issues"},"homepage":"https://github.com/NavaraBV/nativescript-adal","devDependencies":{"tns-core-modules":"^3.1.0","tns-platform-declarations":"^3.1.0","typescript":"~2.3.0","prompt":"^1.0.0","rimraf":"^2.5.0","tslint":"^5.0.0"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_resolved":"","_integrity":"","_from":"file:aminebizid-nativescript-adal-1.0.6.tgz","_id":"@aminebizid/nativescript-adal@1.0.6","_npmVersion":"6.2.0","_nodeVersion":"8.10.0","_npmUser":{"name":"aminebizid","email":"amine.bizid@gmail.com"},"dist":{"integrity":"sha512-l9Nzgo8+PG35oVUXf+jteTErRVnNcRwTvsYlqogdlisTRHGWN2cKqHupJVDa3vQp+Pp5+AtkcTc5hllXgx4s2g==","shasum":"601f9f475f9edb5c12e89ceac58244d01645d049","tarball":"https://registry.npmjs.org/@aminebizid/nativescript-adal/-/nativescript-adal-1.0.6.tgz","fileCount":11,"unpackedSize":128394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJba3plCRA9TVsSAnZWagAAZgcP/1u4/cZW74bWuAWUwCz4\nY7EuZf2xQAsXLRSR/wzA/f4ucx6oy/Dsd9FjARUCtK+nbL5d1pGTEJ91Uh2x\ny+eKe+0QiKd7ApNKYJb2zI8z2ZTj+y2kyDaJnPxdIYrtuWbpNEOcKZxmreNY\nAhJH7vOJl5OU5QxFqMgYzQmnjAinwDGQyMolppo7DXu5pPKVYzsvSsqQLYwT\nleN2nxhsPGBSy18dqVR9f3ozpBk/Dq8AKp18qYwugdr8AuatVcfStZRyqY+K\nRalhk7SCCg2g6UKZodQq9IVVmD8/Lf1Aeqmnt1AhsR8mwgl5dF4hqG62MBmZ\nQCkbALovTxpajZmDbPYgBizSWqB6lx3pT6/EE5NavuWjJnaJ3Oz7/C1mqSu7\npQOsLhf/v2gdX2YcmldQ3PvY2wHvSUowEWNlZe3kRdCZJvnBajt/lq2eQIG3\nXqz0KqEAlnxoF5lBiAnPUswb927h959kZu+6gi8QGukpnicVm4ra5NrI57Xw\nYEE4K1Cn4AeepYlCg8lRHpqwKYWUiaHWxcl/UVm7sfUH1Uhhv/Hxv7mWkhUC\nE4uSiHSgzThrEzeXQG5dnahjrUs9ee6/9mxIz9sCCyg8xDtTSbB7cNm+qCKo\n3Li0wy3uqCEq++ifN/Of3hKZmls1pcGXgLRyxNlW4gpSsYPlocbKqohborHi\nKZ+X\r\n=2swR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAx8US1X4Nm9qkKJ3uaj+v0QWRyFW7F+0+zF57lt3HYcAiA9lblecROHbzTh0kQKl60gVvjJKkofgFyaIq/gh0pGVg=="}]},"maintainers":[{"name":"aminebizid","email":"amine.bizid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-adal_1.0.6_1533770340694_0.782842667087545"},"_hasShrinkwrap":false},"1.0.7":{"name":"@aminebizid/nativescript-adal","version":"1.0.7","description":"A NativeScript plugin for Microsoft's Active Directory Authentication Library.","author":{"name":"Yves Candel"},"repository":{"type":"git","url":"git+https://github.com/NavaraBV/nativescript-adal.git"},"license":"MIT","main":"adal","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.0.0","ios":"3.0.0"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo && npm link @aminebizid/nativescript-adal && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles","demo.android":"npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles","demo.reset":"cd ../demo && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo && tns plugin remove @aminebizid/nativescript-adal && tns plugin add ../src","clean":"cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'"},"keywords":["NativeScript","JavaScript","Android","iOS"],"bugs":{"url":"https://github.com/NavaraBV/nativescript-adal/issues"},"homepage":"https://github.com/NavaraBV/nativescript-adal","devDependencies":{"tns-core-modules":"4.1.1","tns-platform-declarations":"4.1.1","typescript":"~2.7.2","prompt":"^1.0.0","rimraf":"^2.5.0","tslint":"^5.0.0"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_resolved":"","_integrity":"","_from":"file:aminebizid-nativescript-adal-1.0.7.tgz","_id":"@aminebizid/nativescript-adal@1.0.7","_npmVersion":"6.2.0","_nodeVersion":"8.10.0","_npmUser":{"name":"aminebizid","email":"amine.bizid@gmail.com"},"dist":{"integrity":"sha512-Ki8nYXQqV56jJ95YRG4cFFH29UJO3j59ofFzvN0rXUklzwNNSSJ723PS0YdJU+JU0SPk9DsX1Qd2WMDk32qXLw==","shasum":"73bea5f17814b29b1bb8aadb6527e140a2e1e924","tarball":"https://registry.npmjs.org/@aminebizid/nativescript-adal/-/nativescript-adal-1.0.7.tgz","fileCount":16,"unpackedSize":154762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbL1tCRA9TVsSAnZWagAA4S8P/jgmjYp3hGCIASSv17dy\nr+grBE91vqvgukWhoz7uwkkaAovQ8RleXLiOPNR+F3EzWdCIsNn+14MCY8Xp\nvmUk0CYBczILfydbfJFkFIvVSXnsDTfC+1hmw0ndCCTbLpTNcffw8o2cZrLy\nrmM5kJ1KEUQW6EEmYqQZYBLeCIE3QMlGjQORKM8OaFmCZpYkUueNqINaK9Mb\nstD1VtLM16QiO/KVGWOajXLSpzP5kWx+PPOKCLxTTYzN0LPDRa3IqikoNcEx\nC4u67w+Lhi4UTT+pr2TbY1A9Lfxij6mo7fHPnGoQJvK05Oa4A0VmpX8jpvwN\nqtlviGZ7idcZeyzh1sygPqXUORiScyLgSa+KzKziUIlLZ9R5p8ERI5Qe1qwU\n6ir9ZxhBNSgi4w2v9AqfJN+YQGvN/pbVg5wN/co4Vv6/U+CBpaMuaK+ua/fW\nRlhhzLddEXf19FZWz9FefGiE8DbxBFHZpvQt47kmhXouqs1/xIx0ZVN3zqIk\nbF7t7vU6uWe3KdQ1Fk3+COdmozpzIO+ZsK4v70jEnhVIX8JRsHGSDpwV0qOP\nqlDn2fxHhgCfx9ouza/zMBq4rJiFE/fJSEtr6FqSOAywtWeht+NT3Kajn62q\nTdzy6aAKLSMyN/mzeNy3KeVP2nyebZUJORz/ZEua72ImtGLC1EfyUIbS7nRg\n0fYV\r\n=4zru\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC63J0rEV7U0JFfH7jx19f6eKWFDqfJ5Y8FvmcZz91vqQIhAPct6qbTyr0kj5a4KMfh90oFfNpFlV53sIzyIJ7DGcs/"}]},"maintainers":[{"name":"aminebizid","email":"amine.bizid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-adal_1.0.7_1533853036956_0.38568982835810584"},"_hasShrinkwrap":false},"1.1.0":{"name":"@aminebizid/nativescript-adal","version":"1.1.0","description":"A NativeScript plugin for Microsoft's Active Directory Authentication Library.","author":{"name":"Yves Candel"},"repository":{"type":"git","url":"git+https://github.com/NavaraBV/nativescript-adal.git"},"license":"MIT","main":"adal","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.0.0","ios":"3.0.0"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo && npm link @aminebizid/nativescript-adal && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles","demo.android":"npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles","demo.reset":"cd ../demo && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo && tns plugin remove @aminebizid/nativescript-adal && tns plugin add ../src","clean":"cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'"},"keywords":["NativeScript","JavaScript","Android","iOS"],"bugs":{"url":"https://github.com/NavaraBV/nativescript-adal/issues"},"homepage":"https://github.com/NavaraBV/nativescript-adal","devDependencies":{"tns-core-modules":"^3.1.0","tns-platform-declarations":"^3.1.0","typescript":"~2.7.2","prompt":"^1.0.0","rimraf":"^2.5.0","tslint":"^5.0.0"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_resolved":"","_integrity":"","_from":"file:aminebizid-nativescript-adal-1.1.0.tgz","_id":"@aminebizid/nativescript-adal@1.1.0","_npmVersion":"6.2.0","_nodeVersion":"8.10.0","_npmUser":{"name":"aminebizid","email":"amine.bizid@gmail.com"},"dist":{"integrity":"sha512-53+R8Y7xoEyxohbCvmQ5vpsNHqHq4EHoFKd37HyxIGga3kyLUnJtA7TBZkiWz4QH0kUmjKDFViOCyJK2kJvLHw==","shasum":"da7d9ca5d23b55b721af35765e93ff14daa66d7f","tarball":"https://registry.npmjs.org/@aminebizid/nativescript-adal/-/nativescript-adal-1.1.0.tgz","fileCount":16,"unpackedSize":145668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbb1o5CRA9TVsSAnZWagAArvAP/3GaxCg+IgVp9sVkzDnJ\nEdqMGb3s7wi9BNWCrCqT45zvBBMPkj5fE6fh19nDvvesrNiIx+ADikfLa9jf\nDfoAFu5zWhkAGClW7g9XOFiTwBr6Dt6aqUS+Jf9/nxpftZic1fqde3+1MY01\nmf0vINkYG7HrWV71z+4VtHahqJ5hPAXGGdaQ1Ag0E7cUKX/etVXNwhT2yLh+\nwMLs6CVta4yMItUIry8wR3xC6Dj6yU3takmc8tDvLNTZV3P4FZVrpYUC1w7C\nyrRWZE0fEiOOAHA2y52SfbEP/8z2QeEe7yVCx9Y/zWrLAMQdLtNRLQeFl2NX\nEFrvNZVO/7InC8I9yqtjovP+tEksWDilIjXd0hwSJWPaujIsgfJRz5+ZzmWW\nWAZNbxghEqN+P6sNz5k+tOZwOIfrMhUF7+WlbYB4lnn6nhJDUNl1q9oJhdY1\noTU7qQ2d9vugK+NbBNx32OiDUUk0y00NNVjErHKKT8ffkcCh7efdQFCfES3Z\nHndqIcBT67e1Zx7zd4yrXmg/+dGb5xLDGvsPxLfI7SnX1Snld8TduV1XappG\nmx0LakMMqiQnvhU2otsKzmauxbu7DTJzWlRzjFCbz9J8g36HhcJWPQk1LlmA\nc0fCOsKEik3XGqKt+UlTNyO7r/cBkHfQAWQwVp9Cjdw4cJ11HejZclod7yEA\nAd5N\r\n=hJN8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHhG0vw5ioeeisEfVksK4gmS1SDjEmEKq8vOim7Wg+YUAiAbJbUXZcdhGcwWVoQv+0wnSytLohk0CtoKqeXVoLL/Kg=="}]},"maintainers":[{"name":"aminebizid","email":"amine.bizid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-adal_1.1.0_1534024248655_0.6915619750010891"},"_hasShrinkwrap":false},"1.1.1":{"name":"@aminebizid/nativescript-adal","version":"1.1.1","description":"A NativeScript plugin for Microsoft's Active Directory Authentication Library.","author":{"name":"Yves Candel / Amine BIZID"},"repository":{"type":"git","url":"git+https://github.com/aminebizid/nativescript-adal.git"},"license":"MIT","main":"adal","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.0.0","ios":"3.0.0"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo && npm link @aminebizid/nativescript-adal && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles","demo.android":"npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles","demo.reset":"cd ../demo && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo && tns plugin remove @aminebizid/nativescript-adal && tns plugin add ../src","clean":"cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'"},"keywords":["NativeScript","JavaScript","Android","iOS"],"bugs":{"url":"https://github.com/aminebizid/nativescript-adal/issues"},"homepage":"https://github.com/aminebizid/nativescript-adal","devDependencies":{"tns-core-modules":"^3.1.0","tns-platform-declarations":"^3.1.0","typescript":"~2.7.2","prompt":"^1.0.0","rimraf":"^2.5.0","tslint":"^5.0.0"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_resolved":"","_integrity":"","_from":"file:aminebizid-nativescript-adal-1.1.1.tgz","_id":"@aminebizid/nativescript-adal@1.1.1","_npmVersion":"6.2.0","_nodeVersion":"8.10.0","_npmUser":{"name":"aminebizid","email":"amine.bizid@gmail.com"},"dist":{"integrity":"sha512-tfQ9zSPsHVUd/O8gi5Rn4H3d/fGSaVXZYmQNAKfu0FonVf4XcIagkCjO1uqLutdrDyRh9cH8UN0GR88QXqs21A==","shasum":"ef4558a110004f7bfdb1c41d9af375bc6b227b78","tarball":"https://registry.npmjs.org/@aminebizid/nativescript-adal/-/nativescript-adal-1.1.1.tgz","fileCount":16,"unpackedSize":144718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbb1+wCRA9TVsSAnZWagAAlUcP/AmRbT+bBJdi1Cxbvf5/\nUREW3gkMmITNNiZBeJ5fVpcEnk0Cx4TjcEaWeogE4sN4vspIemSKUEAbqXxk\nfXtPoXPQ5Odsi/8FXUCMpcr6nqsvR+uvxBXGnFW6nAm1wR9tIpNaHcRg1Zdk\n1Uo09IJrYMrpjsq9u6gBRNVRM+RfZZVXwnMBeo8xMMbEuyfvw3rMQrV/eqwW\n1CyTfzDpKGSyh8VeieMPDGt/3OkbFBLhITcoqotnVsHVW1EPPV5lQi/7mc+o\n92JTQAxamI+rT2+eGvrIwCG/8mqI7L6CBkcnjYlAf0ZMtiRRkQSYzAKEY3EK\nBcP90EJfV0JMUU0PXKxl+ysNmpvvWyW8ZNcWfjFAyaLGFSppmRvZmtGvwO+A\nAW/stWJe4GANjwgR6s7zi2uRUv72bCSsKS+q7P33enAtR8eB5LFr4c3CP1vF\nGK7sPmQq0Ivwo3C4xeSjI6wtcY+dWuuis3VGIdLAdC9xQTZedmTaNvjosjgi\nxqvrtvF/vcFuU7BadgxVqb1pIXAavr4gNeXCH65UlKCR3/kVBoV8sTnOtWPJ\nVX7vvM1EqIdi3YocOrDOAXDslwGUQxeAc6Coo1QWAlVR6S5D9jV+A47QLTN+\nD4ARttjvw80NZ9q9EScKWYQQwc3IfStb1j2h5aOWRlMIYPpFVjcX4/hE1kpZ\n5yOe\r\n=UPpp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0t9NHapS2hZ+266fIGfNB/MbE8JwdJ2KYxrVhkReAvAiBSH99xPoos/Sb0CfU6ZS+/GNxrrwd1EsdNH70cw4ueGA=="}]},"maintainers":[{"name":"aminebizid","email":"amine.bizid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-adal_1.1.1_1534025647786_0.15393686904424908"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-08T23:19:00.462Z","1.0.6":"2018-08-08T23:19:00.847Z","modified":"2022-04-04T13:49:15.746Z","1.0.7":"2018-08-09T22:17:17.072Z","1.1.0":"2018-08-11T21:50:48.741Z","1.1.1":"2018-08-11T22:14:07.881Z"},"maintainers":[{"name":"aminebizid","email":"amine.bizid@gmail.com"}],"description":"A NativeScript plugin for Microsoft's Active Directory Authentication Library.","homepage":"https://github.com/aminebizid/nativescript-adal","keywords":["NativeScript","JavaScript","Android","iOS"],"repository":{"type":"git","url":"git+https://github.com/aminebizid/nativescript-adal.git"},"author":{"name":"Yves Candel / Amine BIZID"},"bugs":{"url":"https://github.com/aminebizid/nativescript-adal/issues"},"license":"MIT","readme":"# NativeScript Active Directory Authentication Library Plugin\n\n\nThis plugin allows you to quickly add Azure Active Directory Authentication to your NativeScript app\nThanks to NavaraBV\n\n## Prerequisites / Requirements\n\nYour application requires to be registered inside your Azure Active Directory (AAD). Visit the [Azure Portal](https://portal.azure.com) and log in with your organizational account. Grab your Azure AD Tenant ID and Application ID after registering your application.\n\n## Installation\n\n```javascript\ntns plugin add @aminebizid/nativescript-adal\n```\n\n## Usage (Angular example)\n\nImport the AdalContext class in application in, for example, an 'AdalService' and initialize it.\n\n```javascript\nimport { Injectable } from '@angular/core';\nimport { AdalContext } from '@aminebizid/nativescript-adal';\n\nconst authority: string = 'https://login.microsoftonline.com/{your-tenant-id}';\nconst clientId: string = '{your-application-id}';\nconst resourceId: string = '00000002-0000-0000-c000-000000000000';\n\n@Injectable()\nexport class AdalService {\n\n  public adalContext: AdalContext;\n\n  constructor() {\n    this.adalContext = new AdalContext(authority, clientId, resourceId);\n  }\n}\n```\n\n...and consume this service in your application!\n\n```javascript\nexport class AppComponent {\n\n  constructor(private adalService: AdalService) { }\n\n  public login() {\n    this.adalService.adalContext.login().then((result) => {\n      console.log('Success!');\n    })\n  }\n\n  public logout() {\n    this.adalService.adalContext.logout();\n  }\n}\n```\n\n\n    \n## License\n\nSee [LICENSE](LICENSE) for details.\n","readmeFilename":"README.md"}