Skip to content

Commit

Permalink
Merge pull request #328 from AzureAD/rn/release
Browse files Browse the repository at this point in the history
added changes for release 0.1.7
  • Loading branch information
rohitnarula7176 committed Jun 15, 2018
2 parents 0808e27 + 5c697d9 commit d29fa63
Show file tree
Hide file tree
Showing 26 changed files with 340 additions and 108 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.1.7
### New Features

* Fixed bug with resolveAuthority in acquireTokenSilent. https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/322
* Fixed bug with window.opener for cases when app is opened due to a click event. https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/318

# 0.1.6
### New Features

Expand Down
12 changes: 6 additions & 6 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#L1230">UserAgentApplication.ts:1230</a></li>
<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>
</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#L1789">UserAgentApplication.ts:1789</a></li>
<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>
</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#L1643">UserAgentApplication.ts:1643</a></li>
<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>
</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#L1740">UserAgentApplication.ts:1740</a></li>
<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>
</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#L1798">UserAgentApplication.ts:1798</a></li>
<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>
</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#L1660">UserAgentApplication.ts:1660</a></li>
<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>
</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#L1714">UserAgentApplication.ts:1714</a></li>
<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>
</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#L1747">UserAgentApplication.ts:1747</a></li>
<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>
</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#L1334">UserAgentApplication.ts:1334</a></li>
<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>
</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#L1359">UserAgentApplication.ts:1359</a></li>
<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>
</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#L1626">UserAgentApplication.ts:1626</a></li>
<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>
</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#L1729">UserAgentApplication.ts:1729</a></li>
<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>
</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#L1210">UserAgentApplication.ts:1210</a></li>
<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>
</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#L1186">UserAgentApplication.ts:1186</a></li>
<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>
</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#L1733">UserAgentApplication.ts:1733</a></li>
<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>
</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#L1301">UserAgentApplication.ts:1301</a></li>
<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>
</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#L1265">UserAgentApplication.ts:1265</a></li>
<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>
</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#L1456">UserAgentApplication.ts:1456</a></li>
<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>
</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#L1489">UserAgentApplication.ts:1489</a></li>
<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>
</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#L1794">UserAgentApplication.ts:1794</a></li>
<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>
</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#L1785">UserAgentApplication.ts:1785</a></li>
<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>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
10 changes: 5 additions & 5 deletions lib-commonjs/Authority.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ import { IUri } from "./IUri";
export declare enum AuthorityType {
Aad = 0,
Adfs = 1,
B2C = 2,
B2C = 2
}
export declare abstract class Authority {
constructor(authority: string, validateAuthority: boolean);
readonly abstract AuthorityType: AuthorityType;
abstract readonly AuthorityType: AuthorityType;
IsValidationEnabled: boolean;
readonly Tenant: string;
private tenantDiscoveryResponse;
readonly AuthorizationEndpoint: string;
readonly EndSessionEndpoint: string;
readonly SelfSignedJwtAudience: string;
private validateResolved();
private validateResolved;
CanonicalAuthority: string;
private canonicalAuthority;
private canonicalAuthorityUrlComponents;
readonly CanonicalAuthorityUrlComponents: IUri;
protected readonly DefaultOpenIdConfigurationEndpoint: string;
private validateAsUri();
private DiscoverEndpoints(openIdConfigurationEndpoint);
private validateAsUri;
private DiscoverEndpoints;
ResolveEndpointsAsync(): Promise<Authority>;
abstract GetOpenIdConfigurationEndpointAsync(): Promise<string>;
}
24 changes: 23 additions & 1 deletion lib-commonjs/AuthorityFactory.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
/**
* Copyright (c) Microsoft Corporation
* All Rights Reserved
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the 'Software'), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
* OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
* OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import { Authority } from "./Authority";
export declare class AuthorityFactory {
private static DetectAuthorityFromUrl(authorityUrl);
private static DetectAuthorityFromUrl;
static CreateInstance(authorityUrl: string, validateAuthority: boolean): Authority;
}
22 changes: 22 additions & 0 deletions lib-commonjs/ClientInfo.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
/**
* Copyright (c) Microsoft Corporation
* All Rights Reserved
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the 'Software'), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
* OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
* OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
export declare class ClientInfo {
private _uid;
uid: string;
Expand Down
Loading

0 comments on commit d29fa63

Please sign in to comment.