Skip to content

Commit

Permalink
Release v1.4.1 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Apr 14, 2023
2 parents bb43017 + ba7d34b commit dfaf478
Show file tree
Hide file tree
Showing 16 changed files with 58 additions and 52 deletions.
12 changes: 6 additions & 6 deletions docs/classes/insufficientscopeerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">InsufficientScopeError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L57">packages/oauth2-bearer/src/errors.ts:57</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L57">packages/oauth2-bearer/src/errors.ts:57</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 @@ -69,14 +69,14 @@ <h5>message: <span class="tsd-signature-type">string</span><span class="tsd-sign
<h4 class="tsd-returns-title">Returns <a href="InsufficientScopeError.html" class="tsd-signature-type" data-tsd-kind="Class">InsufficientScopeError</a></h4><aside class="tsd-sources">
<p>Overrides <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L62">packages/oauth2-bearer/src/errors.ts:62</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L62">packages/oauth2-bearer/src/errors.ts:62</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="code" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><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><span class="tsd-signature-symbol"> = &#39;insufficient_scope&#39;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L58">packages/oauth2-bearer/src/errors.ts:58</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L58">packages/oauth2-bearer/src/errors.ts:58</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="headers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>headers</span><a href="#headers" 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">headers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>WWW-Authenticate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
Expand All @@ -87,7 +87,7 @@ <h4>Type declaration</h4>
<h5>WWW-<wbr/>Authenticate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
<p>Inherited from <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#headers">headers</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L13">packages/oauth2-bearer/src/errors.ts:13</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L13">packages/oauth2-bearer/src/errors.ts:13</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>message</span><a href="#message" 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">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
Expand All @@ -111,13 +111,13 @@ <h3 class="tsd-anchor-link"><span>status</span><a href="#status" aria-label="Per
<div class="tsd-signature">status<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 403</span></div><aside class="tsd-sources">
<p>Overrides <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#status">status</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L59">packages/oauth2-bearer/src/errors.ts:59</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L59">packages/oauth2-bearer/src/errors.ts:59</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="statusCode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>status<wbr/>Code</span><a href="#statusCode" 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<wbr/>Code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 403</span></div><aside class="tsd-sources">
<p>Overrides <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#statusCode">statusCode</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L60">packages/oauth2-bearer/src/errors.ts:60</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L60">packages/oauth2-bearer/src/errors.ts:60</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="prepareStackTrace" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>prepare<wbr/>Stack<wbr/>Trace</span><a href="#prepareStackTrace" 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">prepare<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></div>
Expand Down
12 changes: 6 additions & 6 deletions docs/classes/invalidrequesterror.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">InvalidRequestError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L27">packages/oauth2-bearer/src/errors.ts:27</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L27">packages/oauth2-bearer/src/errors.ts:27</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 @@ -69,14 +69,14 @@ <h5>message: <span class="tsd-signature-type">string</span><span class="tsd-sign
<h4 class="tsd-returns-title">Returns <a href="InvalidRequestError.html" class="tsd-signature-type" data-tsd-kind="Class">InvalidRequestError</a></h4><aside class="tsd-sources">
<p>Overrides <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L32">packages/oauth2-bearer/src/errors.ts:32</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L32">packages/oauth2-bearer/src/errors.ts:32</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="code" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><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><span class="tsd-signature-symbol"> = &#39;invalid_request&#39;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L28">packages/oauth2-bearer/src/errors.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L28">packages/oauth2-bearer/src/errors.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="headers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>headers</span><a href="#headers" 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">headers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>WWW-Authenticate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
Expand All @@ -87,7 +87,7 @@ <h4>Type declaration</h4>
<h5>WWW-<wbr/>Authenticate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
<p>Inherited from <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#headers">headers</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L13">packages/oauth2-bearer/src/errors.ts:13</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L13">packages/oauth2-bearer/src/errors.ts:13</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>message</span><a href="#message" 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">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
Expand All @@ -111,13 +111,13 @@ <h3 class="tsd-anchor-link"><span>status</span><a href="#status" aria-label="Per
<div class="tsd-signature">status<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 400</span></div><aside class="tsd-sources">
<p>Overrides <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#status">status</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L29">packages/oauth2-bearer/src/errors.ts:29</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L29">packages/oauth2-bearer/src/errors.ts:29</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="statusCode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>status<wbr/>Code</span><a href="#statusCode" 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<wbr/>Code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 400</span></div><aside class="tsd-sources">
<p>Overrides <a href="UnauthorizedError.html">UnauthorizedError</a>.<a href="UnauthorizedError.html#statusCode">statusCode</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/0245f71/packages/oauth2-bearer/src/errors.ts#L30">packages/oauth2-bearer/src/errors.ts:30</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/node-oauth2-jwt-bearer/blob/bb43017/packages/oauth2-bearer/src/errors.ts#L30">packages/oauth2-bearer/src/errors.ts:30</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="prepareStackTrace" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>prepare<wbr/>Stack<wbr/>Trace</span><a href="#prepareStackTrace" 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">prepare<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></div>
Expand Down
Loading

0 comments on commit dfaf478

Please sign in to comment.