Skip to content

Commit

Permalink
Release 1.13.5 (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Dec 8, 2020
1 parent f04bac9 commit 1114554
Show file tree
Hide file tree
Showing 26 changed files with 171 additions and 225 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Change Log

## [v1.13.5](https://github.com/auth0/auth0-spa-js/tree/v1.13.5) (2020-12-08)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.13.4...v1.13.5)

**Changed**

- [SDK-2173] Expand on behaviour of checkSession in docs [\#666](https://github.com/auth0/auth0-spa-js/pull/666) ([stevehobbsdev](https://github.com/stevehobbsdev))
- [SDK-2183] Add warning when requested scopes differ from retrieved scopes [\#665](https://github.com/auth0/auth0-spa-js/pull/665) ([frederikprijck](https://github.com/frederikprijck))
- [SDK-2170] Avoid the possibility to do simultaneous calls to the token endpoint [\#664](https://github.com/auth0/auth0-spa-js/pull/664) ([frederikprijck](https://github.com/frederikprijck))
- [SDK-2025] Internal module refactor [\#661](https://github.com/auth0/auth0-spa-js/pull/661) ([stevehobbsdev](https://github.com/stevehobbsdev))
- [SDK-2039] Change cache lookup mechanism [\#652](https://github.com/auth0/auth0-spa-js/pull/652) ([frederikprijck](https://github.com/frederikprijck))

**Fixed**

- [SDK-1739] Recover and logout when throwing invalid_grant on Refresh Token [\#668](https://github.com/auth0/auth0-spa-js/pull/668) ([frederikprijck](https://github.com/frederikprijck))

## [v1.13.4](https://github.com/auth0/auth0-spa-js/tree/v1.13.4) (2020-12-02)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.13.3...v1.13.4)
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.json

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions docs/classes/auth0client.html
Original file line number Diff line number Diff line change
Expand Up @@ -2830,9 +2830,6 @@
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_memory" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>MEMORY</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#missing_refresh_token_error_message" class="tsd-kind-icon">MISSING_<wbr>REFRESH_<wbr>TOKEN_<wbr>ERROR_<wbr>MESSAGE</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#createauth0client" class="tsd-kind-icon">create<wbr>Auth0<wbr>Client</a>
</li>
Expand Down Expand Up @@ -2903,7 +2900,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L144">src/Auth0Client.ts:144</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L149">src/Auth0Client.ts:149</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2925,7 +2922,7 @@ <h3>cache<wbr>Location</h3>
<div class="tsd-signature tsd-kind-icon">cache<wbr>Location<span class="tsd-signature-symbol">:</span> <a href="../globals.html#cachelocation" class="tsd-signature-type">CacheLocation</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L143">src/Auth0Client.ts:143</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L148">src/Auth0Client.ts:148</a></li>
</ul>
</aside>
</section>
Expand All @@ -2942,7 +2939,7 @@ <h3>build<wbr>Authorize<wbr>Url</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L278">src/Auth0Client.ts:278</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L283">src/Auth0Client.ts:283</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2975,7 +2972,7 @@ <h3>build<wbr>Logout<wbr>Url</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L726">src/Auth0Client.ts:726</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L759">src/Auth0Client.ts:759</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3006,7 +3003,7 @@ <h3>check<wbr>Session</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L565">src/Auth0Client.ts:565</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L577">src/Auth0Client.ts:577</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3016,6 +3013,9 @@ <h3>check<wbr>Session</h3>
<p>Check if the user is logged in using <code>getTokenSilently</code>. The difference
with <code>getTokenSilently</code> is that this doesn&#39;t return a token, but it will
pre-fill the token cache.</p>
<p>This method also heeds the <code>auth0.is.authenticated</code> cookie, as an optimization
to prevent calling Auth0 unnecessarily. If the cookie is not present because
there was no previous login (or it has expired) then tokens will not be refreshed.</p>
<p>It should be used for silently logging in the user when you instantiate the
<code>Auth0Client</code> constructor. You should not need this if you are using the
<code>createAuth0Client</code> factory.</p>
Expand All @@ -3042,7 +3042,7 @@ <h3>get<wbr>IdToken<wbr>Claims</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L440">src/Auth0Client.ts:440</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L447">src/Auth0Client.ts:447</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3073,7 +3073,7 @@ <h3>get<wbr>Token<wbr>Silently</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L605">src/Auth0Client.ts:605</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L617">src/Auth0Client.ts:617</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3117,7 +3117,7 @@ <h3>get<wbr>Token<wbr>With<wbr>Popup</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L676">src/Auth0Client.ts:676</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L707">src/Auth0Client.ts:707</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3148,13 +3148,13 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<a name="getuser" class="tsd-anchor"></a>
<h3>get<wbr>User</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
<li class="tsd-signature tsd-kind-icon">get<wbr>User&lt;TUser&gt;<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/getuseroptions.html" class="tsd-signature-type">GetUserOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TUser</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">get<wbr>User&lt;TUser&gt;<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/getuseroptions.html" class="tsd-signature-type">GetUserOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TUser</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L416">src/Auth0Client.ts:416</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L421">src/Auth0Client.ts:421</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3181,7 +3181,7 @@ <h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TUser</span><span class="tsd-signature-symbol">&gt;</span></h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TUser</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></h4>
</li>
</ul>
</section>
Expand All @@ -3195,7 +3195,7 @@ <h3>handle<wbr>Redirect<wbr>Callback</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L475">src/Auth0Client.ts:475</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L484">src/Auth0Client.ts:484</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3226,7 +3226,7 @@ <h3>is<wbr>Authenticated</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L713">src/Auth0Client.ts:713</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L746">src/Auth0Client.ts:746</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3250,7 +3250,7 @@ <h3>login<wbr>With<wbr>Popup</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L331">src/Auth0Client.ts:331</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L336">src/Auth0Client.ts:336</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3290,7 +3290,7 @@ <h3>login<wbr>With<wbr>Redirect</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L464">src/Auth0Client.ts:464</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L473">src/Auth0Client.ts:473</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3323,7 +3323,7 @@ <h3>logout</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/Auth0Client.ts#L755">src/Auth0Client.ts:755</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/Auth0Client.ts#L788">src/Auth0Client.ts:788</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
15 changes: 6 additions & 9 deletions docs/classes/authenticationerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2815,9 +2815,6 @@
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_memory" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>MEMORY</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#missing_refresh_token_error_message" class="tsd-kind-icon">MISSING_<wbr>REFRESH_<wbr>TOKEN_<wbr>ERROR_<wbr>MESSAGE</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#createauth0client" class="tsd-kind-icon">create<wbr>Auth0<wbr>Client</a>
</li>
Expand Down Expand Up @@ -2882,7 +2879,7 @@ <h3>constructor</h3>
<aside class="tsd-sources">
<p>Overrides <a href="genericerror.html">GenericError</a>.<a href="genericerror.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L19">src/errors.ts:19</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L19">src/errors.ts:19</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -2913,7 +2910,7 @@ <h3>app<wbr>State</h3>
<div class="tsd-signature tsd-kind-icon">app<wbr>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L24">src/errors.ts:24</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L24">src/errors.ts:24</a></li>
</ul>
</aside>
</section>
Expand All @@ -2924,7 +2921,7 @@ <h3>error</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="genericerror.html">GenericError</a>.<a href="genericerror.html#error">error</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2935,7 +2932,7 @@ <h3>error_<wbr>description</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="genericerror.html">GenericError</a>.<a href="genericerror.html#error_description">error_description</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -2978,7 +2975,7 @@ <h3>state</h3>
<div class="tsd-signature tsd-kind-icon">state<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L23">src/errors.ts:23</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L23">src/errors.ts:23</a></li>
</ul>
</aside>
</section>
Expand All @@ -2996,7 +2993,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> from<wbr>Payload</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="genericerror.html">GenericError</a>.<a href="genericerror.html#frompayload">fromPayload</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L8">src/errors.ts:8</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L8">src/errors.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
11 changes: 4 additions & 7 deletions docs/classes/genericerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2812,9 +2812,6 @@
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_memory" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>MEMORY</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#missing_refresh_token_error_message" class="tsd-kind-icon">MISSING_<wbr>REFRESH_<wbr>TOKEN_<wbr>ERROR_<wbr>MESSAGE</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#createauth0client" class="tsd-kind-icon">create<wbr>Auth0<wbr>Client</a>
</li>
Expand Down Expand Up @@ -2885,7 +2882,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L1">src/errors.ts:1</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L1">src/errors.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2910,7 +2907,7 @@ <h3>error</h3>
<div class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2920,7 +2917,7 @@ <h3>error_<wbr>description</h3>
<div class="tsd-signature tsd-kind-icon">error_<wbr>description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -2981,7 +2978,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> from<wbr>Payload</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/7a25483/src/errors.ts#L8">src/errors.ts:8</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/c9ceafb/src/errors.ts#L8">src/errors.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit 1114554

Please sign in to comment.