@rxap/oauth 21.0.1 → 22.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +65 -5
- package/compodoc/dependencies.html +104 -25
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/AuthenticationService.html +83 -21
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +25 -12
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +39 -0
- package/compodoc/miscellaneous/functions.html +59 -15
- package/compodoc/miscellaneous/variables.html +52 -5
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +107 -64
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AuthenticationService.html +134 -8
- package/docs/html/functions/AuthenticationGuard.html +43 -1
- package/docs/html/functions/ProvideAuth.html +42 -1
- package/docs/html/functions/withAuthConfig.html +42 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +40 -4
- package/docs/html/modules.html +40 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AuthenticationService.md +13 -13
- package/docs/markdown/functions/AuthenticationGuard.md +2 -2
- package/docs/markdown/functions/ProvideAuth.md +2 -2
- package/docs/markdown/functions/withAuthConfig.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/wiki/Class.AuthenticationService.md +12 -12
- package/docs/wiki/Function.AuthenticationGuard.md +1 -1
- package/docs/wiki/Function.ProvideAuth.md +1 -1
- package/docs/wiki/Function.withAuthConfig.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-oauth.mjs +147 -155
- package/fesm2022/rxap-oauth.mjs.map +1 -1
- package/package.json +18 -18
- package/types/rxap-oauth.d.ts +32 -34
package/docs/html/index.html
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@rxap/oauth - v22.0.0-dev.1</title><meta name="description" content="Documentation for @rxap/oauth"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">@rxap/oauth - v22.0.0-dev.1</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<h1>@rxap/oauth - v22.0.0-dev.1</h1></div>
|
|
11
|
+
<div class="tsd-panel tsd-typography"><p>This package provides an authentication guard and service for Angular applications using OAuth 2.0 and OpenID Connect. It simplifies the integration of authentication flows, including sign-in, sign-out, and token management, with support for disabled authentication scenarios. The package also includes a provider function to streamline configuration.</p>
|
|
2
12
|
<p><a href="https://www.npmjs.com/package/@rxap/oauth"><img src="https://img.shields.io/npm/v/@rxap/oauth?style=flat-square" alt="npm version"></a>
|
|
3
13
|
<a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly"></a>
|
|
4
14
|
<a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square" alt="styled with prettier"></a>
|
|
@@ -13,7 +23,8 @@
|
|
|
13
23
|
</ul>
|
|
14
24
|
</li>
|
|
15
25
|
</ul>
|
|
16
|
-
<
|
|
26
|
+
<h1 id="installation" class="tsd-anchor-link">Installation<a href="#installation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1>
|
|
27
|
+
<p><strong>Add the package to your workspace:</strong></p>
|
|
17
28
|
<pre><code class="bash"><span class="hl-0">yarn</span><span class="hl-1"> </span><span class="hl-2">add</span><span class="hl-1"> </span><span class="hl-2">@rxap/oauth</span>
|
|
18
29
|
</code><button type="button">Copy</button></pre>
|
|
19
30
|
|
|
@@ -25,10 +36,35 @@
|
|
|
25
36
|
<pre><code class="bash"><span class="hl-0">yarn</span><span class="hl-1"> </span><span class="hl-2">nx</span><span class="hl-1"> </span><span class="hl-2">g</span><span class="hl-1"> </span><span class="hl-2">@rxap/oauth:init</span>
|
|
26
37
|
</code><button type="button">Copy</button></pre>
|
|
27
38
|
|
|
28
|
-
<
|
|
39
|
+
<h1 id="generators" class="tsd-anchor-link">Generators<a href="#generators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1>
|
|
40
|
+
<h2 id="init" class="tsd-anchor-link">init<a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
41
|
+
<blockquote>
|
|
29
42
|
<p>Initialize the package in the workspace</p>
|
|
30
43
|
</blockquote>
|
|
31
44
|
<pre><code class="bash"><span class="hl-0">nx</span><span class="hl-1"> </span><span class="hl-2">g</span><span class="hl-1"> </span><span class="hl-2">@rxap/oauth:init</span>
|
|
32
45
|
</code><button type="button">Copy</button></pre>
|
|
33
46
|
|
|
34
|
-
</div></div
|
|
47
|
+
</div></div>
|
|
48
|
+
<div class="col-sidebar">
|
|
49
|
+
<div class="page-menu">
|
|
50
|
+
<div class="tsd-navigation settings">
|
|
51
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
52
|
+
<h3>Settings</h3></summary>
|
|
53
|
+
<div class="tsd-accordion-details">
|
|
54
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
55
|
+
<ul id="tsd-filter-options">
|
|
56
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
57
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
58
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
59
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
60
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
61
|
+
<h3>On This Page</h3></summary>
|
|
62
|
+
<div class="tsd-accordion-details"><a href="#installation"><span>Installation</span></a><a href="#generators"><span>Generators</span></a>
|
|
63
|
+
<ul>
|
|
64
|
+
<li><a href="#init"><span>init</span></a></li></ul></div></details></div>
|
|
65
|
+
<div class="site-menu">
|
|
66
|
+
<nav class="tsd-navigation"><a href="modules.html">@rxap/oauth - v22.0.0-dev.1</a>
|
|
67
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
68
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
69
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
70
|
+
<div class="overlay"></div></body></html>
|
package/docs/html/modules.html
CHANGED
|
@@ -1 +1,40 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@rxap/oauth - v22.0.0-dev.1</title><meta name="description" content="Documentation for @rxap/oauth"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">@rxap/oauth - v22.0.0-dev.1</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb"></ul>
|
|
11
|
+
<h1>@rxap/oauth - v22.0.0-dev.1</h1></div>
|
|
12
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Classes"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
13
|
+
<h2 class="tsd-anchor-link" id="classes">Classes<a href="#classes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="authenticationservice"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Class"><use href="assets/icons.svg#icon-128"></use></svg><a href="classes/AuthenticationService.html">AuthenticationService</a><a href="#authenticationservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details>
|
|
14
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Functions"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
15
|
+
<h2 class="tsd-anchor-link" id="functions">Functions<a href="#functions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="authenticationguard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="functions/AuthenticationGuard.html">AuthenticationGuard</a><a href="#authenticationguard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="provideauth"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="functions/ProvideAuth.html">ProvideAuth</a><a href="#provideauth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="withauthconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="functions/withAuthConfig.html">withAuthConfig</a><a href="#withauthconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details></div>
|
|
16
|
+
<div class="col-sidebar">
|
|
17
|
+
<div class="page-menu">
|
|
18
|
+
<div class="tsd-navigation settings">
|
|
19
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
20
|
+
<h3>Settings</h3></summary>
|
|
21
|
+
<div class="tsd-accordion-details">
|
|
22
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
23
|
+
<ul id="tsd-filter-options">
|
|
24
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
25
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
26
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
27
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
28
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
29
|
+
<h3>On This Page</h3></summary>
|
|
30
|
+
<div class="tsd-accordion-details">
|
|
31
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Classes"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Classes</summary>
|
|
32
|
+
<div><a href="#authenticationservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Class"><use href="assets/icons.svg#icon-128"></use></svg><span>Authentication<wbr/>Service</span></a></div></details>
|
|
33
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Functions"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Functions</summary>
|
|
34
|
+
<div><a href="#authenticationguard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Authentication<wbr/>Guard</span></a><a href="#provideauth"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Provide<wbr/>Auth</span></a><a href="#withauthconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>with<wbr/>Auth<wbr/>Config</span></a></div></details></div></details></div>
|
|
35
|
+
<div class="site-menu">
|
|
36
|
+
<nav class="tsd-navigation"><a href="modules.html" class="current">@rxap/oauth - v22.0.0-dev.1</a>
|
|
37
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
38
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
39
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
40
|
+
<div class="overlay"></div></body></html>
|
package/docs/markdown/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/oauth
|
|
1
|
+
[**@rxap/oauth v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: AuthenticationService
|
|
8
8
|
|
|
9
|
-
Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L31)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -14,15 +14,15 @@ Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/bl
|
|
|
14
14
|
|
|
15
15
|
## Constructors
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### Constructor
|
|
18
18
|
|
|
19
|
-
> **new AuthenticationService**():
|
|
19
|
+
> **new AuthenticationService**(): `AuthenticationService`
|
|
20
20
|
|
|
21
|
-
Defined in: [authentication.service.ts:46](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [authentication.service.ts:46](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L46)
|
|
22
22
|
|
|
23
23
|
#### Returns
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
`AuthenticationService`
|
|
26
26
|
|
|
27
27
|
## Properties
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [authentication.service.ts:46](https://gitlab.com/rxap/packages/-/bl
|
|
|
30
30
|
|
|
31
31
|
> **events$**: `Observable`\<`AuthenticationEvent`\> = `EMPTY`
|
|
32
32
|
|
|
33
|
-
Defined in: [authentication.service.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [authentication.service.ts:37](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L37)
|
|
34
34
|
|
|
35
35
|
#### Implementation of
|
|
36
36
|
|
|
@@ -40,9 +40,9 @@ Defined in: [authentication.service.ts:37](https://gitlab.com/rxap/packages/-/bl
|
|
|
40
40
|
|
|
41
41
|
### isAuthenticated$
|
|
42
42
|
|
|
43
|
-
> `readonly` **isAuthenticated$**: `BehaviorSubject`\<`
|
|
43
|
+
> `readonly` **isAuthenticated$**: `BehaviorSubject`\<`boolean` \| `null`\>
|
|
44
44
|
|
|
45
|
-
Defined in: [authentication.service.ts:38](https://gitlab.com/rxap/packages/-/blob/
|
|
45
|
+
Defined in: [authentication.service.ts:38](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L38)
|
|
46
46
|
|
|
47
47
|
#### Implementation of
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ Defined in: [authentication.service.ts:38](https://gitlab.com/rxap/packages/-/bl
|
|
|
54
54
|
|
|
55
55
|
> **init**(): `void`
|
|
56
56
|
|
|
57
|
-
Defined in: [authentication.service.ts:63](https://gitlab.com/rxap/packages/-/blob/
|
|
57
|
+
Defined in: [authentication.service.ts:63](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L63)
|
|
58
58
|
|
|
59
59
|
#### Returns
|
|
60
60
|
|
|
@@ -66,7 +66,7 @@ Defined in: [authentication.service.ts:63](https://gitlab.com/rxap/packages/-/bl
|
|
|
66
66
|
|
|
67
67
|
> **isAuthenticated**(): `Promise`\<`boolean`\>
|
|
68
68
|
|
|
69
|
-
Defined in: [authentication.service.ts:145](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [authentication.service.ts:145](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L145)
|
|
70
70
|
|
|
71
71
|
#### Returns
|
|
72
72
|
|
|
@@ -82,7 +82,7 @@ Defined in: [authentication.service.ts:145](https://gitlab.com/rxap/packages/-/b
|
|
|
82
82
|
|
|
83
83
|
> **signIn**(): `void`
|
|
84
84
|
|
|
85
|
-
Defined in: [authentication.service.ts:126](https://gitlab.com/rxap/packages/-/blob/
|
|
85
|
+
Defined in: [authentication.service.ts:126](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L126)
|
|
86
86
|
|
|
87
87
|
#### Returns
|
|
88
88
|
|
|
@@ -94,7 +94,7 @@ Defined in: [authentication.service.ts:126](https://gitlab.com/rxap/packages/-/b
|
|
|
94
94
|
|
|
95
95
|
> **signOut**(): `Promise`\<`void`\>
|
|
96
96
|
|
|
97
|
-
Defined in: [authentication.service.ts:115](https://gitlab.com/rxap/packages/-/blob/
|
|
97
|
+
Defined in: [authentication.service.ts:115](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L115)
|
|
98
98
|
|
|
99
99
|
#### Returns
|
|
100
100
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/oauth
|
|
1
|
+
[**@rxap/oauth v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **AuthenticationGuard**(`route`, `state`): `Promise`\<`boolean`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [authentication-guard.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [authentication-guard.ts:12](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication-guard.ts#L12)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/oauth
|
|
1
|
+
[**@rxap/oauth v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **ProvideAuth**(...`withConfigs`): `Provider`[]
|
|
10
10
|
|
|
11
|
-
Defined in: [provide-auth.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [provide-auth.ts:9](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/provide-auth.ts#L9)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/oauth
|
|
1
|
+
[**@rxap/oauth v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **withAuthConfig**(`config`): `Provider`
|
|
10
10
|
|
|
11
|
-
Defined in: [provide-auth.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [provide-auth.ts:20](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/provide-auth.ts#L20)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
package/docs/markdown/globals.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: AuthenticationService
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L31)
|
|
6
6
|
|
|
7
7
|
## Implements
|
|
8
8
|
|
|
@@ -10,15 +10,15 @@ Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/bl
|
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new AuthenticationService**():
|
|
15
|
+
> **new AuthenticationService**(): `AuthenticationService`
|
|
16
16
|
|
|
17
|
-
Defined in: [authentication.service.ts:46](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [authentication.service.ts:46](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L46)
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
`AuthenticationService`
|
|
22
22
|
|
|
23
23
|
## Properties
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [authentication.service.ts:46](https://gitlab.com/rxap/packages/-/bl
|
|
|
26
26
|
|
|
27
27
|
> **events$**: `Observable`\<`AuthenticationEvent`\> = `EMPTY`
|
|
28
28
|
|
|
29
|
-
Defined in: [authentication.service.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [authentication.service.ts:37](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L37)
|
|
30
30
|
|
|
31
31
|
#### Implementation of
|
|
32
32
|
|
|
@@ -36,9 +36,9 @@ Defined in: [authentication.service.ts:37](https://gitlab.com/rxap/packages/-/bl
|
|
|
36
36
|
|
|
37
37
|
### isAuthenticated$
|
|
38
38
|
|
|
39
|
-
> `readonly` **isAuthenticated$**: `BehaviorSubject`\<`
|
|
39
|
+
> `readonly` **isAuthenticated$**: `BehaviorSubject`\<`boolean` \| `null`\>
|
|
40
40
|
|
|
41
|
-
Defined in: [authentication.service.ts:38](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
Defined in: [authentication.service.ts:38](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L38)
|
|
42
42
|
|
|
43
43
|
#### Implementation of
|
|
44
44
|
|
|
@@ -50,7 +50,7 @@ Defined in: [authentication.service.ts:38](https://gitlab.com/rxap/packages/-/bl
|
|
|
50
50
|
|
|
51
51
|
> **init**(): `void`
|
|
52
52
|
|
|
53
|
-
Defined in: [authentication.service.ts:63](https://gitlab.com/rxap/packages/-/blob/
|
|
53
|
+
Defined in: [authentication.service.ts:63](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L63)
|
|
54
54
|
|
|
55
55
|
#### Returns
|
|
56
56
|
|
|
@@ -62,7 +62,7 @@ Defined in: [authentication.service.ts:63](https://gitlab.com/rxap/packages/-/bl
|
|
|
62
62
|
|
|
63
63
|
> **isAuthenticated**(): `Promise`\<`boolean`\>
|
|
64
64
|
|
|
65
|
-
Defined in: [authentication.service.ts:145](https://gitlab.com/rxap/packages/-/blob/
|
|
65
|
+
Defined in: [authentication.service.ts:145](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L145)
|
|
66
66
|
|
|
67
67
|
#### Returns
|
|
68
68
|
|
|
@@ -78,7 +78,7 @@ Defined in: [authentication.service.ts:145](https://gitlab.com/rxap/packages/-/b
|
|
|
78
78
|
|
|
79
79
|
> **signIn**(): `void`
|
|
80
80
|
|
|
81
|
-
Defined in: [authentication.service.ts:126](https://gitlab.com/rxap/packages/-/blob/
|
|
81
|
+
Defined in: [authentication.service.ts:126](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L126)
|
|
82
82
|
|
|
83
83
|
#### Returns
|
|
84
84
|
|
|
@@ -90,7 +90,7 @@ Defined in: [authentication.service.ts:126](https://gitlab.com/rxap/packages/-/b
|
|
|
90
90
|
|
|
91
91
|
> **signOut**(): `Promise`\<`void`\>
|
|
92
92
|
|
|
93
|
-
Defined in: [authentication.service.ts:115](https://gitlab.com/rxap/packages/-/blob/
|
|
93
|
+
Defined in: [authentication.service.ts:115](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication.service.ts#L115)
|
|
94
94
|
|
|
95
95
|
#### Returns
|
|
96
96
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AuthenticationGuard**(`route`, `state`): `Promise`\<`boolean`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [authentication-guard.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [authentication-guard.ts:12](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/authentication-guard.ts#L12)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ProvideAuth**(...`withConfigs`): `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [provide-auth.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide-auth.ts:9](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/provide-auth.ts#L9)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **withAuthConfig**(`config`): `Provider`
|
|
6
6
|
|
|
7
|
-
Defined in: [provide-auth.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide-auth.ts:20](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/oauth/src/lib/provide-auth.ts#L20)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
package/docs/wiki/globals.md
CHANGED