Skip to content

Commit

Permalink
Release v2.2.2 (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Mar 2, 2023
2 parents 175b9e0 + 78c05af commit 934c858
Show file tree
Hide file tree
Showing 115 changed files with 273 additions and 260 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [v2.2.2](https://github.com/auth0/nextjs-auth0/tree/v2.2.2) (2023-03-02)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.2.1...v2.2.2)

**Fixed**
- Fix issue where storeIDToken config not used by getAccessToken [\#1091](https://github.com/auth0/nextjs-auth0/pull/1091) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.2.1](https://github.com/auth0/nextjs-auth0/tree/v2.2.1) (2023-01-27)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.2.0...v2.2.1)

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/client_use_user.RequestError.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">RequestError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/client/use-user.tsx#L46">client/use-user.tsx:46</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/client/use-user.tsx#L46">client/use-user.tsx:46</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -59,14 +59,14 @@ <h5>status: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="client_use_user.RequestError.html" class="tsd-signature-type" data-tsd-kind="Class">RequestError</a></h4><aside class="tsd-sources">
<p>Overrides Error.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/client/use-user.tsx#L49">client/use-user.tsx:49</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/client/use-user.tsx#L49">client/use-user.tsx:49</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="status" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">status<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/client/use-user.tsx#L47">client/use-user.tsx:47</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/client/use-user.tsx#L47">client/use-user.tsx:47</a></li></ul></aside></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
16 changes: 8 additions & 8 deletions docs/classes/session_session.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h4>Hierarchy</h4>
<h4 class="tsd-before-signature">Indexable</h4>
<div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></div></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L19">session/session.ts:19</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L19">session/session.ts:19</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -60,7 +60,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>user: <a href="../interfaces/session_session.Claims.html" class="tsd-signature-type" data-tsd-kind="Interface">Claims</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="session_session.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L55">session/session.ts:55</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L55">session/session.ts:55</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="accessToken" class="tsd-anchor"></a>
Expand All @@ -69,28 +69,28 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<div class="tsd-comment tsd-typography"><p>The access token.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L33">session/session.ts:33</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L33">session/session.ts:33</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="accessTokenExpiresAt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>access<wbr/>Token<wbr/>Expires<wbr/>At</span><a href="#accessTokenExpiresAt" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">access<wbr/>Token<wbr/>Expires<wbr/>At<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>The expiration of the access token.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L43">session/session.ts:43</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L43">session/session.ts:43</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="accessTokenScope" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>access<wbr/>Token<wbr/>Scope</span><a href="#accessTokenScope" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">access<wbr/>Token<wbr/>Scope<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>The access token scopes.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L38">session/session.ts:38</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L38">session/session.ts:38</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="idToken" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>id<wbr/>Token</span><a href="#idToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">id<wbr/>Token<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>The ID token.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L28">session/session.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L28">session/session.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="refreshToken" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>refresh<wbr/>Token</span><a href="#refreshToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">refresh<wbr/>Token<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
Expand All @@ -99,14 +99,14 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
from Auth0.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L51">session/session.ts:51</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L51">session/session.ts:51</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="user" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>user</span><a href="#user" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">user<span class="tsd-signature-symbol">:</span> <a href="../interfaces/session_session.Claims.html" class="tsd-signature-type" data-tsd-kind="Interface">Claims</a></div>
<div class="tsd-comment tsd-typography"><p>Any of the claims from the <code>id_token</code>.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/session/session.ts#L23">session/session.ts:23</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/session/session.ts#L23">session/session.ts:23</a></li></ul></aside></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
12 changes: 6 additions & 6 deletions docs/classes/utils_errors.AccessTokenError.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">AccessTokenError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/utils/errors.ts#L99">utils/errors.ts:99</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/utils/errors.ts#L99">utils/errors.ts:99</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -70,7 +70,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> cause: <span class="ts
<h4 class="tsd-returns-title">Returns <a href="utils_errors.AccessTokenError.html" class="tsd-signature-type" data-tsd-kind="Class">AccessTokenError</a></h4><aside class="tsd-sources">
<p>Overrides <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/utils/errors.ts#L100">utils/errors.ts:100</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/utils/errors.ts#L100">utils/errors.ts:100</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="cause" class="tsd-anchor"></a>
Expand All @@ -84,7 +84,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
</div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#cause">cause</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/utils/errors.ts#L57">utils/errors.ts:57</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/utils/errors.ts#L57">utils/errors.ts:57</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="code" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>code</span><a href="#code" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
Expand All @@ -95,23 +95,23 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
</div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#code">code</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/utils/errors.ts#L41">utils/errors.ts:41</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/utils/errors.ts#L41">utils/errors.ts:41</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="name" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>The error class name.</p>
</div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#name">name</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/utils/errors.ts#L46">utils/errors.ts:46</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/utils/errors.ts#L46">utils/errors.ts:46</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="status" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">status<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>The HTTP status code, if any.</p>
</div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#status">status</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5d772e0/src/utils/errors.ts#L62">utils/errors.ts:62</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/175b9e0/src/utils/errors.ts#L62">utils/errors.ts:62</a></li></ul></aside></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
Loading

0 comments on commit 934c858

Please sign in to comment.