Skip to content

Commit

Permalink
Merge pull request #310 from AzureAD/rn/0.1.6
Browse files Browse the repository at this point in the history
added changes for release 0.1.6
  • Loading branch information
rohitnarula7176 authored May 22, 2018
2 parents a2fe4bc + 8fb082e commit 84278c4
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 47 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,10 @@ Via NPM:

npm install msal

Via CDN:
```JavaScript
<!-- Latest compiled and minified JavaScript -->
<script src="https://secure.aadcdn.microsoftonline-p.com/lib/0.1.5/js/msal.min.js"></script>
```

Note that msal.js is built for ES5, therefore enabling support of Internet Explorer 11. If you want to target Internet Explorer, you'll need to add a reference to promises polyfill. You might want to read more in the [FAQ](../../wiki)
```JavaScript
<!-- IE support: add promises polyfill before msal.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.4/bluebird.min.js" class="pre"></script>
<script src="https://secure.aadcdn.microsoftonline-p.com/lib/0.1.5/js/msal.min.js"></script>
```

## Build and running tests
Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.1.6
### New Features

* Fixed bug with concurrent acquireToken requests. https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/274
* Added catchHandler for authority validation
* Fixed bug to handle the case for id_token with special characters.

# 0.1.5

### Breaking Changes
Expand Down
4 changes: 2 additions & 2 deletions dist/msal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/msal.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/msal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/msal.min.js.map

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions docs/classes/_useragentapplication_.useragentapplication.html
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> add<wbr>Adal<wbr>Frame<
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1238">UserAgentApplication.ts:1238</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1230">UserAgentApplication.ts:1230</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -831,7 +831,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> get<wbr>Acquire<wbr
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1797">UserAgentApplication.ts:1797</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1789">UserAgentApplication.ts:1789</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
Expand Down Expand Up @@ -917,7 +917,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> get<wbr>Hash</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1651">UserAgentApplication.ts:1651</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1643">UserAgentApplication.ts:1643</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -940,7 +940,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> get<wbr>Host<wbr>From<w
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1748">UserAgentApplication.ts:1748</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1740">UserAgentApplication.ts:1740</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -963,7 +963,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> get<wbr>Logger</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1806">UserAgentApplication.ts:1806</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1798">UserAgentApplication.ts:1798</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="_logger_.logger.html" class="tsd-signature-type">Logger</a></h4>
Expand All @@ -980,7 +980,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> get<wbr>Request<wbr
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1668">UserAgentApplication.ts:1668</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1660">UserAgentApplication.ts:1660</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1003,7 +1003,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> get<wbr>Scope<wbr>From<
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1722">UserAgentApplication.ts:1722</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1714">UserAgentApplication.ts:1714</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1026,7 +1026,7 @@ <h3>get<wbr>Scopes<wbr>For<wbr>Endpoint</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1755">UserAgentApplication.ts:1755</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1747">UserAgentApplication.ts:1747</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1098,7 +1098,7 @@ <h3>get<wbr>User</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1342">UserAgentApplication.ts:1342</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1334">UserAgentApplication.ts:1334</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="_user_.user.html" class="tsd-signature-type">User</a></h4>
Expand All @@ -1115,7 +1115,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> handle<wbr>Authenticati
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1367">UserAgentApplication.ts:1367</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1359">UserAgentApplication.ts:1359</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1138,7 +1138,7 @@ <h3>is<wbr>Callback</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1634">UserAgentApplication.ts:1634</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1626">UserAgentApplication.ts:1626</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1161,7 +1161,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> is<wbr>InIframe</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1737">UserAgentApplication.ts:1737</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1729">UserAgentApplication.ts:1729</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
Expand All @@ -1178,7 +1178,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> load<wbr>Frame</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1218">UserAgentApplication.ts:1218</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1210">UserAgentApplication.ts:1210</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1204,7 +1204,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> load<wbr>Iframe<wbr>Tim
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1194">UserAgentApplication.ts:1194</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1186">UserAgentApplication.ts:1186</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1233,7 +1233,7 @@ <h3>login<wbr>InProgress</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1741">UserAgentApplication.ts:1741</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1733">UserAgentApplication.ts:1733</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
Expand Down Expand Up @@ -1467,7 +1467,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> renew<wbr>IdToken</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1309">UserAgentApplication.ts:1309</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1301">UserAgentApplication.ts:1301</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1505,7 +1505,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> renew<wbr>Token</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1273">UserAgentApplication.ts:1273</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1265">UserAgentApplication.ts:1265</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1543,7 +1543,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> save<wbr>Access<wbr>Tok
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1464">UserAgentApplication.ts:1464</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1456">UserAgentApplication.ts:1456</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1578,7 +1578,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> save<wbr>Token<wbr>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1497">UserAgentApplication.ts:1497</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1489">UserAgentApplication.ts:1489</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1601,7 +1601,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> set<wbr>Acquire<wbr
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1802">UserAgentApplication.ts:1802</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1794">UserAgentApplication.ts:1794</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1624,7 +1624,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> setlogin<wbr>InProg
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1793">UserAgentApplication.ts:1793</a></li>
<li>Defined in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/src/UserAgentApplication.ts#L1785">UserAgentApplication.ts:1785</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
7 changes: 1 addition & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,9 @@ <h2 id="example">Example</h2>
<h2 id="installation">Installation</h2>
<p>Via NPM:</p>
<pre><code>npm <span class="hljs-keyword">install</span> msal
</code></pre><p>Via CDN:</p>
<pre><code class="lang-JavaScript"> &lt;!-- Latest compiled and minified JavaScript --&gt;
<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://secure.aadcdn.microsoftonline-p.com/lib/0.1.5/js/msal.min.js"</span>&gt;</span><span class="undefined"></span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></span>
</code></pre>
<p>Note that msal.js is built for ES5, therefore enabling support of Internet Explorer 11. If you want to target Internet Explorer, you&#39;ll need to add a reference to promises polyfill. You might want to read more in the <a href="../../wiki">FAQ</a></p>
</code></pre><p>Note that msal.js is built for ES5, therefore enabling support of Internet Explorer 11. If you want to target Internet Explorer, you&#39;ll need to add a reference to promises polyfill. You might want to read more in the <a href="../../wiki">FAQ</a></p>
<pre><code class="lang-JavaScript"> &lt;!-- IE support: add promises polyfill before msal.js --&gt;
<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.4/bluebird.min.js"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"pre"</span>&gt;</span><span class="undefined"></span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></span>
&lt;script src=<span class="hljs-string">"https://secure.aadcdn.microsoftonline-p.com/lib/0.1.5/js/msal.min.js"</span>&gt;<span class="xml"><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></span>
</code></pre>
<h2 id="build-and-running-tests">Build and running tests</h2>
<p>If you want to build the library and run all the unit tests, you can do the following.</p>
Expand Down
2 changes: 1 addition & 1 deletion lib-commonjs/UserAgentApplication.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib-commonjs/Utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib-es6/UserAgentApplication.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib-es6/Utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "git",
"url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
},
"version": "0.1.5",
"version": "0.1.6",
"description": "Microsoft Authentication Library for js",
"keywords": [
"implicit",
Expand Down
2 changes: 1 addition & 1 deletion src/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export class Utils {
}

static getLibraryVersion(): string {
return "0.1.5";
return "0.1.6";
}

/*
Expand Down

0 comments on commit 84278c4

Please sign in to comment.