Skip to content

Commit

Permalink
Release v1.5.0 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored May 24, 2023
2 parents 6ddd164 + e31a38c commit 034a9f3
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/d6dcf9b/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/6ddd164/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><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-
<h4 class="tsd-returns-title">Returns <a href="InsufficientScopeError.html" class="tsd-signature-type 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/d6dcf9b/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/6ddd164/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"><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"><span class="tsd-kind-property">code</span><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/d6dcf9b/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/6ddd164/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-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"><span class="tsd-kind-property">headers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">WWW-Authenticate</span><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><span class="tsd-kind-property">WWW-<wbr/>Authenticate</span><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/d6dcf9b/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/6ddd164/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-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"><span class="tsd-kind-property">message</span><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"><span class="tsd-kind-property">status</span><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/d6dcf9b/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/6ddd164/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"><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"><span class="tsd-kind-property">status<wbr/>Code</span><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/d6dcf9b/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/6ddd164/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-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"><span class="tsd-kind-property">prepare<wbr/>Stack<wbr/>Trace</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">err</span>, <span class="tsd-kind-parameter">stackTraces</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/d6dcf9b/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/6ddd164/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><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-
<h4 class="tsd-returns-title">Returns <a href="InvalidRequestError.html" class="tsd-signature-type 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/d6dcf9b/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/6ddd164/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"><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"><span class="tsd-kind-property">code</span><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/d6dcf9b/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/6ddd164/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-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"><span class="tsd-kind-property">headers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">WWW-Authenticate</span><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><span class="tsd-kind-property">WWW-<wbr/>Authenticate</span><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/d6dcf9b/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/6ddd164/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-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"><span class="tsd-kind-property">message</span><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"><span class="tsd-kind-property">status</span><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/d6dcf9b/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/6ddd164/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"><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"><span class="tsd-kind-property">status<wbr/>Code</span><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/d6dcf9b/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/6ddd164/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-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"><span class="tsd-kind-property">prepare<wbr/>Stack<wbr/>Trace</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">err</span>, <span class="tsd-kind-parameter">stackTraces</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 034a9f3

Please sign in to comment.