This commit is contained in:
joachimvh
2022-11-03 08:59:05 +00:00
parent 0d3225ff1e
commit 3d724f916f
598 changed files with 6643 additions and 5537 deletions

View File

@@ -1,16 +1,16 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IdentityProviderFactory | Community Solid Server - v5.0.0</title><meta name="description" content="Documentation for Community Solid Server - v5.0.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IdentityProviderFactory | Community Solid Server - v5.1.0</title><meta name="description" content="Documentation for Community Solid Server - v5.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
<div class="tsd-toolbar-contents container">
<div class="table-cell" id="tsd-search" data-base="..">
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Community Solid Server - v5.0.0</a></div>
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Community Solid Server - v5.1.0</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
<div class="container container-main">
<div class="col-8 col-content">
<div class="tsd-page-title">
<ul class="tsd-breadcrumb">
<li><a href="../modules.html">Community Solid Server - v5.0.0</a></li>
<li><a href="../modules.html">Community Solid Server - v5.1.0</a></li>
<li><a href="IdentityProviderFactory.html">IdentityProviderFactory</a></li></ul>
<h1>Class IdentityProviderFactory</h1></div>
<section class="tsd-panel tsd-comment">
@@ -29,7 +29,7 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
<ul class="tsd-hierarchy">
<li><a href="../interfaces/ProviderFactory.html" class="tsd-signature-type" data-tsd-kind="Interface">ProviderFactory</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L79">src/identity/configuration/IdentityProviderFactory.ts:79</a></li></ul></aside>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L80">src/identity/configuration/IdentityProviderFactory.ts:80</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">
@@ -48,6 +48,7 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
<a href="IdentityProviderFactory.html#errorHandler" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>error<wbr/>Handler</span></a>
<a href="IdentityProviderFactory.html#interactionHandler" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>interaction<wbr/>Handler</span></a>
<a href="IdentityProviderFactory.html#jwtAlg" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>jwt<wbr/>Alg</span></a>
<a href="IdentityProviderFactory.html#logger" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>logger</span></a>
<a href="IdentityProviderFactory.html#oidcPath" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc<wbr/>Path</span></a>
<a href="IdentityProviderFactory.html#provider" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>provider?</span></a>
<a href="IdentityProviderFactory.html#responseWriter" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>response<wbr/>Writer</span></a>
@@ -56,7 +57,8 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list"><a href="IdentityProviderFactory.html#configureClaims" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>configure<wbr/>Claims</span></a>
<div class="tsd-index-list"><a href="IdentityProviderFactory.html#captureErrorResponses" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>capture<wbr/>Error<wbr/>Responses</span></a>
<a href="IdentityProviderFactory.html#configureClaims" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>configure<wbr/>Claims</span></a>
<a href="IdentityProviderFactory.html#configureErrors" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>configure<wbr/>Errors</span></a>
<a href="IdentityProviderFactory.html#configureRoutes" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>configure<wbr/>Routes</span></a>
<a href="IdentityProviderFactory.html#createProvider" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Provider</span></a>
@@ -89,71 +91,102 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="IdentityProviderFactory.html" class="tsd-signature-type" data-tsd-kind="Class">IdentityProviderFactory</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L98">src/identity/configuration/IdentityProviderFactory.ts:98</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L101">src/identity/configuration/IdentityProviderFactory.ts:101</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-private"><a id="adapterFactory" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>adapter<wbr/>Factory</span><a href="#adapterFactory" 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">adapter<wbr/>Factory<span class="tsd-signature-symbol">:</span> <a href="../interfaces/AdapterFactory.html" class="tsd-signature-type" data-tsd-kind="Interface">AdapterFactory</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L81">src/identity/configuration/IdentityProviderFactory.ts:81</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L84">src/identity/configuration/IdentityProviderFactory.ts:84</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="baseUrl" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>base<wbr/>Url</span><a href="#baseUrl" 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">base<wbr/>Url<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/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L82">src/identity/configuration/IdentityProviderFactory.ts:82</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L85">src/identity/configuration/IdentityProviderFactory.ts:85</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="config" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>config</span><a href="#config" 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">config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Configuration</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L80">src/identity/configuration/IdentityProviderFactory.ts:80</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L83">src/identity/configuration/IdentityProviderFactory.ts:83</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="credentialStorage" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>credential<wbr/>Storage</span><a href="#credentialStorage" 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">credential<wbr/>Storage<span class="tsd-signature-symbol">:</span> <a href="../interfaces/KeyValueStorage.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyValueStorage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/ClientCredentials.html" class="tsd-signature-type" data-tsd-kind="Interface">ClientCredentials</a><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L85">src/identity/configuration/IdentityProviderFactory.ts:85</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L88">src/identity/configuration/IdentityProviderFactory.ts:88</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="errorHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>error<wbr/>Handler</span><a href="#errorHandler" 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">error<wbr/>Handler<span class="tsd-signature-symbol">:</span> <a href="ErrorHandler.html" class="tsd-signature-type" data-tsd-kind="Class">ErrorHandler</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L88">src/identity/configuration/IdentityProviderFactory.ts:88</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L91">src/identity/configuration/IdentityProviderFactory.ts:91</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="interactionHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>interaction<wbr/>Handler</span><a href="#interactionHandler" 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">interaction<wbr/>Handler<span class="tsd-signature-symbol">:</span> <a href="InteractionHandler.html" class="tsd-signature-type" data-tsd-kind="Class">InteractionHandler</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L84">src/identity/configuration/IdentityProviderFactory.ts:84</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L87">src/identity/configuration/IdentityProviderFactory.ts:87</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="jwtAlg" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>jwt<wbr/>Alg</span><a href="#jwtAlg" 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">jwt<wbr/>Alg<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ES256&quot;</span><span class="tsd-signature-symbol"> = &#39;ES256&#39;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L91">src/identity/configuration/IdentityProviderFactory.ts:91</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L94">src/identity/configuration/IdentityProviderFactory.ts:94</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="logger" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>logger</span><a href="#logger" 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">logger<span class="tsd-signature-symbol">:</span> <a href="../interfaces/Logger.html" class="tsd-signature-type" data-tsd-kind="Interface">Logger</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L81">src/identity/configuration/IdentityProviderFactory.ts:81</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="oidcPath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>oidc<wbr/>Path</span><a href="#oidcPath" 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">oidc<wbr/>Path<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/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L83">src/identity/configuration/IdentityProviderFactory.ts:83</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L86">src/identity/configuration/IdentityProviderFactory.ts:86</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="provider" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>provider</span><a href="#provider" 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">provider<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Provider</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L92">src/identity/configuration/IdentityProviderFactory.ts:92</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L95">src/identity/configuration/IdentityProviderFactory.ts:95</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="responseWriter" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>response<wbr/>Writer</span><a href="#responseWriter" 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">response<wbr/>Writer<span class="tsd-signature-symbol">:</span> <a href="ResponseWriter.html" class="tsd-signature-type" data-tsd-kind="Class">ResponseWriter</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L89">src/identity/configuration/IdentityProviderFactory.ts:89</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L92">src/identity/configuration/IdentityProviderFactory.ts:92</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="showStackTrace" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>show<wbr/>Stack<wbr/>Trace</span><a href="#showStackTrace" 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">show<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L87">src/identity/configuration/IdentityProviderFactory.ts:87</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L90">src/identity/configuration/IdentityProviderFactory.ts:90</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="storage" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>storage</span><a href="#storage" 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">storage<span class="tsd-signature-symbol">:</span> <a href="../interfaces/KeyValueStorage.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyValueStorage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L86">src/identity/configuration/IdentityProviderFactory.ts:86</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L89">src/identity/configuration/IdentityProviderFactory.ts:89</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="captureErrorResponses" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>capture<wbr/>Error<wbr/>Responses</span><a href="#captureErrorResponses" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="captureErrorResponses.captureErrorResponses-1">capture<wbr/>Error<wbr/>Responses<span class="tsd-signature-symbol">(</span>provider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Provider</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#captureErrorResponses.captureErrorResponses-1" 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></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>In the <code>configureErrors</code> function below, we configure the <code>renderError</code> function of the provider configuration.
This function is called by the OIDC provider library to render errors,
but only does this if the accept header is HTML.
Otherwise, it just returns the error object iself as a JSON object.
See <a href="https://github.com/panva/node-oidc-provider/blob/0fcc112e0a95b3b2dae4eba6da812253277567c9/lib/shared/error_handler.js#L48-L52">https://github.com/panva/node-oidc-provider/blob/0fcc112e0a95b3b2dae4eba6da812253277567c9/lib/shared/error_handler.js#L48-L52</a>.</p>
<p>In this function we override the <code>ctx.accepts</code> function
to make the above code think HTML is always requested there.
This way we have full control over error representation as configured in <code>configureErrors</code>.
We still check the accept headers ourselves so there still is content negotiation on the output,
the client will not simply always receive HTML.</p>
<p>Should this part of the OIDC library code ever change, our function will break,
at which point behaviour will simply revert to what it was before.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>provider: <span class="tsd-signature-type">Provider</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L163">src/identity/configuration/IdentityProviderFactory.ts:163</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="configureClaims" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>configure<wbr/>Claims</span><a href="#configureClaims" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -168,7 +201,7 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
<h5>config: <span class="tsd-signature-type">Configuration</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L230">src/identity/configuration/IdentityProviderFactory.ts:230</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L268">src/identity/configuration/IdentityProviderFactory.ts:268</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="configureErrors" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>configure<wbr/>Errors</span><a href="#configureErrors" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -183,7 +216,7 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
<h5>config: <span class="tsd-signature-type">Configuration</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L334">src/identity/configuration/IdentityProviderFactory.ts:334</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L372">src/identity/configuration/IdentityProviderFactory.ts:372</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="configureRoutes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>configure<wbr/>Routes</span><a href="#configureRoutes" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -198,7 +231,7 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
<h5>config: <span class="tsd-signature-type">Configuration</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L287">src/identity/configuration/IdentityProviderFactory.ts:287</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L325">src/identity/configuration/IdentityProviderFactory.ts:325</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="createProvider" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>create<wbr/>Provider</span><a href="#createProvider" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -208,7 +241,7 @@ Routes will be updated based on the <code>baseUrl</code> and <code>oidcPath</cod
</div>
<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">Provider</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L123">src/identity/configuration/IdentityProviderFactory.ts:123</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L126">src/identity/configuration/IdentityProviderFactory.ts:126</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="createRoute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>create<wbr/>Route</span><a href="#createRoute" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -225,7 +258,7 @@ this would result in <code>/foo/idp/device/auth</code>.</p>
<h5>relative: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L280">src/identity/configuration/IdentityProviderFactory.ts:280</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L318">src/identity/configuration/IdentityProviderFactory.ts:318</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="generateCookieKeys" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>generate<wbr/>Cookie<wbr/>Keys</span><a href="#generateCookieKeys" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -236,7 +269,7 @@ The key will be cached so subsequent calls return the same key.</p>
</div>
<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">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L207">src/identity/configuration/IdentityProviderFactory.ts:207</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L245">src/identity/configuration/IdentityProviderFactory.ts:245</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="generateJwks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>generate<wbr/>Jwks</span><a href="#generateJwks" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -247,7 +280,7 @@ The JWKS will be cached so subsequent calls return the same key.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">JWK</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L184">src/identity/configuration/IdentityProviderFactory.ts:184</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L222">src/identity/configuration/IdentityProviderFactory.ts:222</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getProvider" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Provider</span><a href="#getProvider" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -260,7 +293,7 @@ This is mostly relevant for signing keys.</p>
<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">Provider</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of ProviderFactory.getProvider</p>
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L112">src/identity/configuration/IdentityProviderFactory.ts:112</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L115">src/identity/configuration/IdentityProviderFactory.ts:115</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="initConfig" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>init<wbr/>Config</span><a href="#initConfig" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -271,7 +304,7 @@ and adding the adapter, default audience and jwks/cookie keys.</p>
</div>
<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">Configuration</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L146">src/identity/configuration/IdentityProviderFactory.ts:146</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L184">src/identity/configuration/IdentityProviderFactory.ts:184</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="isAccessToken" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>is<wbr/>Access<wbr/>Token</span><a href="#isAccessToken" 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>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
@@ -287,7 +320,7 @@ The AccessToken interface is not exported so we have to access it like this.</p>
<h5>token: <span class="tsd-signature-type">any</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">token</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">AccessToken</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/9a5fc674f/src/identity/configuration/IdentityProviderFactory.ts#L223">src/identity/configuration/IdentityProviderFactory.ts:223</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/CommunitySolidServer/CommunitySolidServer/blob/1a07de7/src/identity/configuration/IdentityProviderFactory.ts#L261">src/identity/configuration/IdentityProviderFactory.ts:261</a></li></ul></aside></li></ul></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">
@@ -307,7 +340,7 @@ The AccessToken interface is not exported so we have to access it like this.</p>
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
<div class="tsd-accordion-details">
<ul>
<li><a href="../modules.html">Community <wbr/>Solid <wbr/>Server -<wbr/> v5.0.0</a>
<li><a href="../modules.html">Community <wbr/>Solid <wbr/>Server -<wbr/> v5.1.0</a>
<ul></ul></li></ul></div></details></nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
@@ -321,11 +354,13 @@ The AccessToken interface is not exported so we have to access it like this.</p>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#errorHandler" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>error<wbr/>Handler</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#interactionHandler" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>interaction<wbr/>Handler</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#jwtAlg" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>jwt<wbr/>Alg</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="IdentityProviderFactory.html#logger" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>logger</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#oidcPath" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>oidc<wbr/>Path</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#provider" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>provider?</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#responseWriter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>response<wbr/>Writer</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#showStackTrace" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>show<wbr/>Stack<wbr/>Trace</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#storage" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>storage</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#captureErrorResponses" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>capture<wbr/>Error<wbr/>Responses</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#configureClaims" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>configure<wbr/>Claims</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#configureErrors" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>configure<wbr/>Errors</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="IdentityProviderFactory.html#configureRoutes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>configure<wbr/>Routes</a></li>