@rxap/oauth 18.0.5-dev.1 → 18.0.6-dev.0
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 +8 -0
- package/docs/classes/AuthenticationService.html +3 -3
- package/docs/documentation.json +69 -42
- package/docs/functions/AuthenticationGuard.html +1 -1
- package/docs/functions/ProvideAuth.html +1 -1
- package/docs/functions/withAuthConfig.html +1 -1
- package/esm2022/lib/authentication.service.mjs +3 -3
- package/fesm2022/rxap-oauth.mjs +3 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [18.0.6-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/oauth@18.0.5...@rxap/oauth@18.0.6-dev.0) (2024-08-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/oauth
|
|
9
|
+
|
|
10
|
+
## [18.0.5](https://gitlab.com/rxap/packages/compare/@rxap/oauth@18.0.5-dev.1...@rxap/oauth@18.0.5) (2024-07-30)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rxap/oauth
|
|
13
|
+
|
|
6
14
|
## [18.0.5-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/oauth@18.0.5-dev.0...@rxap/oauth@18.0.5-dev.1) (2024-07-25)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @rxap/oauth
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AuthenticationService | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="AuthenticationService.html">AuthenticationService</a></li></ul><h1>Class AuthenticationService</h1></div><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">IAuthenticationService</span></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AuthenticationService | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="AuthenticationService.html">AuthenticationService</a></li></ul><h1>Class AuthenticationService</h1></div><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">IAuthenticationService</span></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L35">lib/authentication.service.ts:35</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"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="AuthenticationService.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
2
2
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="AuthenticationService.html#_events_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_events$</span></a>
|
|
3
3
|
<a href="AuthenticationService.html#authConfig" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>auth<wbr/>Config</span></a>
|
|
4
4
|
<a href="AuthenticationService.html#authenticationAccessToken" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>authentication<wbr/>Access<wbr/>Token</span></a>
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
<a href="AuthenticationService.html#linkEventsAndIsAuthenticated" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>link<wbr/>Events<wbr/>And<wbr/>Is<wbr/>Authenticated</span></a>
|
|
12
12
|
<a href="AuthenticationService.html#signIn" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>In</span></a>
|
|
13
13
|
<a href="AuthenticationService.html#signOut" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>Out</span></a>
|
|
14
|
-
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_AuthenticationService" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Authentication<wbr/>Service</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">oauthService</span>, <span class="tsd-kind-parameter">authConfig</span>, <span class="tsd-kind-parameter">authenticationAccessToken</span>, <span class="tsd-kind-parameter">isAuthDisabled</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="AuthenticationService.html" class="tsd-signature-type tsd-kind-class">AuthenticationService</a><a href="#constructor.new_AuthenticationService" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">oauthService</span>: <span class="tsd-signature-type">OAuthService</span></span></li><li><span><span class="tsd-kind-parameter">authConfig</span>: <span class="tsd-signature-type">AuthConfig</span></span></li><li><span><span class="tsd-kind-parameter">authenticationAccessToken</span>: <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AuthenticationAccessToken</span><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">isAuthDisabled</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="AuthenticationService.html" class="tsd-signature-type tsd-kind-class">AuthenticationService</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
15
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L43">lib/authentication.service.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="authConfig" 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>auth<wbr/>Config</span><a href="#authConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">auth<wbr/>Config</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AuthConfig</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L49">lib/authentication.service.ts:49</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="authenticationAccessToken" 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>authentication<wbr/>Access<wbr/>Token</span><a href="#authenticationAccessToken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">authentication<wbr/>Access<wbr/>Token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AuthenticationAccessToken</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L51">lib/authentication.service.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="events_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>events$</span><a href="#events_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">events$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AuthenticationEvent</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = EMPTY</span></div><aside class="tsd-sources"><p>Implementation of IAuthenticationService.events$</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L36">lib/authentication.service.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="isAuthDisabled" 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>is<wbr/>Auth<wbr/>Disabled</span><a href="#isAuthDisabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Auth<wbr/>Disabled</span><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://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L53">lib/authentication.service.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="isAuthenticated_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>is<wbr/>Authenticated$</span><a href="#isAuthenticated_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Authenticated$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Implementation of IAuthenticationService.isAuthenticated$</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L37">lib/authentication.service.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="oauthService" 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>oauth<wbr/>Service</span><a href="#oauthService" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">oauth<wbr/>Service</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">OAuthService</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L46">lib/authentication.service.ts:46</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="init" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init</span><a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="init.init-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#init.init-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L71">lib/authentication.service.ts:71</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isAuthenticated" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Authenticated</span><a href="#isAuthenticated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="isAuthenticated.isAuthenticated-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Authenticated</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><a href="#isAuthenticated.isAuthenticated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of IAuthenticationService.isAuthenticated</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L153">lib/authentication.service.ts:153</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="linkEventsAndIsAuthenticated" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>link<wbr/>Events<wbr/>And<wbr/>Is<wbr/>Authenticated</span><a href="#linkEventsAndIsAuthenticated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="linkEventsAndIsAuthenticated.linkEventsAndIsAuthenticated-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">link<wbr/>Events<wbr/>And<wbr/>Is<wbr/>Authenticated</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#linkEventsAndIsAuthenticated.linkEventsAndIsAuthenticated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L145">lib/authentication.service.ts:145</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="signIn" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sign<wbr/>In</span><a href="#signIn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="signIn.signIn-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>In</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#signIn.signIn-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L134">lib/authentication.service.ts:134</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="signOut" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sign<wbr/>Out</span><a href="#signOut" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="signOut.signOut-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>Out</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#signOut.signOut-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of IAuthenticationService.signOut</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L123">lib/authentication.service.ts:123</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><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><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><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>Private</span></label></li><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><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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#_events_" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_events$</span></a><a href="#authConfig" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>auth<wbr/>Config</span></a><a href="#authenticationAccessToken" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>authentication<wbr/>Access<wbr/>Token</span></a><a href="#events_" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events$</span></a><a href="#isAuthDisabled" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Auth<wbr/>Disabled</span></a><a href="#isAuthenticated_" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Authenticated$</span></a><a href="#oauthService" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>oauth<wbr/>Service</span></a><a href="#init" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init</span></a><a href="#isAuthenticated" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Authenticated</span></a><a href="#linkEventsAndIsAuthenticated" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>link<wbr/>Events<wbr/>And<wbr/>Is<wbr/>Authenticated</span></a><a href="#signIn" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>In</span></a><a href="#signOut" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>Out</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/oauth</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
14
|
+
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_AuthenticationService" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Authentication<wbr/>Service</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">oauthService</span>, <span class="tsd-kind-parameter">authConfig</span>, <span class="tsd-kind-parameter">authenticationAccessToken</span>, <span class="tsd-kind-parameter">isAuthDisabled</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="AuthenticationService.html" class="tsd-signature-type tsd-kind-class">AuthenticationService</a><a href="#constructor.new_AuthenticationService" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">oauthService</span>: <span class="tsd-signature-type">OAuthService</span></span></li><li><span><span class="tsd-kind-parameter">authConfig</span>: <span class="tsd-signature-type">AuthConfig</span></span></li><li><span><span class="tsd-kind-parameter">authenticationAccessToken</span>: <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">AuthenticationAccessToken</span><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">isAuthDisabled</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="AuthenticationService.html" class="tsd-signature-type tsd-kind-class">AuthenticationService</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L45">lib/authentication.service.ts:45</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-is-private"><a id="_events_" 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>_events$</span><a href="#_events_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_events$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AuthenticationEvent</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Is only used when authentication is disabled to emit the events</p>
|
|
15
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L43">lib/authentication.service.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="authConfig" 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>auth<wbr/>Config</span><a href="#authConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">auth<wbr/>Config</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AuthConfig</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L49">lib/authentication.service.ts:49</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="authenticationAccessToken" 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>authentication<wbr/>Access<wbr/>Token</span><a href="#authenticationAccessToken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">authentication<wbr/>Access<wbr/>Token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">AuthenticationAccessToken</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L51">lib/authentication.service.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="events_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>events$</span><a href="#events_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">events$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AuthenticationEvent</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = EMPTY</span></div><aside class="tsd-sources"><p>Implementation of IAuthenticationService.events$</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L36">lib/authentication.service.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="isAuthDisabled" 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>is<wbr/>Auth<wbr/>Disabled</span><a href="#isAuthDisabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Auth<wbr/>Disabled</span><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://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L53">lib/authentication.service.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="isAuthenticated_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>is<wbr/>Authenticated$</span><a href="#isAuthenticated_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Authenticated$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Implementation of IAuthenticationService.isAuthenticated$</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L37">lib/authentication.service.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="oauthService" 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>oauth<wbr/>Service</span><a href="#oauthService" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">oauth<wbr/>Service</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">OAuthService</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L46">lib/authentication.service.ts:46</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="init" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init</span><a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="init.init-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#init.init-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L71">lib/authentication.service.ts:71</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isAuthenticated" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Authenticated</span><a href="#isAuthenticated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="isAuthenticated.isAuthenticated-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Authenticated</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><a href="#isAuthenticated.isAuthenticated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of IAuthenticationService.isAuthenticated</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L153">lib/authentication.service.ts:153</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="linkEventsAndIsAuthenticated" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>link<wbr/>Events<wbr/>And<wbr/>Is<wbr/>Authenticated</span><a href="#linkEventsAndIsAuthenticated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="linkEventsAndIsAuthenticated.linkEventsAndIsAuthenticated-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">link<wbr/>Events<wbr/>And<wbr/>Is<wbr/>Authenticated</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#linkEventsAndIsAuthenticated.linkEventsAndIsAuthenticated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L145">lib/authentication.service.ts:145</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="signIn" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sign<wbr/>In</span><a href="#signIn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="signIn.signIn-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>In</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#signIn.signIn-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L134">lib/authentication.service.ts:134</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="signOut" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sign<wbr/>Out</span><a href="#signOut" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="signOut.signOut-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>Out</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#signOut.signOut-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of IAuthenticationService.signOut</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L123">lib/authentication.service.ts:123</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><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><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><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>Private</span></label></li><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><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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#_events_" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_events$</span></a><a href="#authConfig" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>auth<wbr/>Config</span></a><a href="#authenticationAccessToken" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>authentication<wbr/>Access<wbr/>Token</span></a><a href="#events_" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events$</span></a><a href="#isAuthDisabled" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Auth<wbr/>Disabled</span></a><a href="#isAuthenticated_" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Authenticated$</span></a><a href="#oauthService" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>oauth<wbr/>Service</span></a><a href="#init" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init</span></a><a href="#isAuthenticated" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Authenticated</span></a><a href="#linkEventsAndIsAuthenticated" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>link<wbr/>Events<wbr/>And<wbr/>Is<wbr/>Authenticated</span></a><a href="#signIn" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>In</span></a><a href="#signOut" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>Out</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/oauth</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
package/docs/documentation.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"fileName": "lib/authentication.service.ts",
|
|
24
24
|
"line": 45,
|
|
25
25
|
"character": 2,
|
|
26
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
26
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L45"
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
29
|
"signatures": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"fileName": "lib/authentication.service.ts",
|
|
39
39
|
"line": 45,
|
|
40
40
|
"character": 2,
|
|
41
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L45"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"parameters": [
|
|
@@ -88,13 +88,22 @@
|
|
|
88
88
|
},
|
|
89
89
|
"typeArguments": [
|
|
90
90
|
{
|
|
91
|
-
"type": "
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
"type": "union",
|
|
92
|
+
"types": [
|
|
93
|
+
{
|
|
94
|
+
"type": "literal",
|
|
95
|
+
"value": null
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "reference",
|
|
99
|
+
"target": {
|
|
100
|
+
"sourceFileName": "packages/angular/authentication/src/lib/tokens.ts",
|
|
101
|
+
"qualifiedName": "AuthenticationAccessToken"
|
|
102
|
+
},
|
|
103
|
+
"name": "AuthenticationAccessToken",
|
|
104
|
+
"package": "@rxap/authentication"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
98
107
|
}
|
|
99
108
|
],
|
|
100
109
|
"name": "BehaviorSubject",
|
|
@@ -144,7 +153,7 @@
|
|
|
144
153
|
"fileName": "lib/authentication.service.ts",
|
|
145
154
|
"line": 43,
|
|
146
155
|
"character": 19,
|
|
147
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
156
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L43"
|
|
148
157
|
}
|
|
149
158
|
],
|
|
150
159
|
"type": {
|
|
@@ -183,7 +192,7 @@
|
|
|
183
192
|
"fileName": "lib/authentication.service.ts",
|
|
184
193
|
"line": 49,
|
|
185
194
|
"character": 21,
|
|
186
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
195
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L49"
|
|
187
196
|
}
|
|
188
197
|
],
|
|
189
198
|
"type": {
|
|
@@ -210,7 +219,7 @@
|
|
|
210
219
|
"fileName": "lib/authentication.service.ts",
|
|
211
220
|
"line": 51,
|
|
212
221
|
"character": 21,
|
|
213
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
222
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L51"
|
|
214
223
|
}
|
|
215
224
|
],
|
|
216
225
|
"type": {
|
|
@@ -221,13 +230,22 @@
|
|
|
221
230
|
},
|
|
222
231
|
"typeArguments": [
|
|
223
232
|
{
|
|
224
|
-
"type": "
|
|
225
|
-
"
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
233
|
+
"type": "union",
|
|
234
|
+
"types": [
|
|
235
|
+
{
|
|
236
|
+
"type": "literal",
|
|
237
|
+
"value": null
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "reference",
|
|
241
|
+
"target": {
|
|
242
|
+
"sourceFileName": "packages/angular/authentication/src/lib/tokens.ts",
|
|
243
|
+
"qualifiedName": "AuthenticationAccessToken"
|
|
244
|
+
},
|
|
245
|
+
"name": "AuthenticationAccessToken",
|
|
246
|
+
"package": "@rxap/authentication"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
231
249
|
}
|
|
232
250
|
],
|
|
233
251
|
"name": "BehaviorSubject",
|
|
@@ -245,7 +263,7 @@
|
|
|
245
263
|
"fileName": "lib/authentication.service.ts",
|
|
246
264
|
"line": 36,
|
|
247
265
|
"character": 2,
|
|
248
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
266
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L36"
|
|
249
267
|
}
|
|
250
268
|
],
|
|
251
269
|
"type": {
|
|
@@ -289,7 +307,7 @@
|
|
|
289
307
|
"fileName": "lib/authentication.service.ts",
|
|
290
308
|
"line": 53,
|
|
291
309
|
"character": 21,
|
|
292
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
310
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L53"
|
|
293
311
|
}
|
|
294
312
|
],
|
|
295
313
|
"type": {
|
|
@@ -311,7 +329,7 @@
|
|
|
311
329
|
"fileName": "lib/authentication.service.ts",
|
|
312
330
|
"line": 37,
|
|
313
331
|
"character": 18,
|
|
314
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
332
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L37"
|
|
315
333
|
}
|
|
316
334
|
],
|
|
317
335
|
"type": {
|
|
@@ -322,8 +340,17 @@
|
|
|
322
340
|
},
|
|
323
341
|
"typeArguments": [
|
|
324
342
|
{
|
|
325
|
-
"type": "
|
|
326
|
-
"
|
|
343
|
+
"type": "union",
|
|
344
|
+
"types": [
|
|
345
|
+
{
|
|
346
|
+
"type": "literal",
|
|
347
|
+
"value": null
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"type": "intrinsic",
|
|
351
|
+
"name": "boolean"
|
|
352
|
+
}
|
|
353
|
+
]
|
|
327
354
|
}
|
|
328
355
|
],
|
|
329
356
|
"name": "BehaviorSubject",
|
|
@@ -350,7 +377,7 @@
|
|
|
350
377
|
"fileName": "lib/authentication.service.ts",
|
|
351
378
|
"line": 46,
|
|
352
379
|
"character": 21,
|
|
353
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
380
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L46"
|
|
354
381
|
}
|
|
355
382
|
],
|
|
356
383
|
"type": {
|
|
@@ -374,7 +401,7 @@
|
|
|
374
401
|
"fileName": "lib/authentication.service.ts",
|
|
375
402
|
"line": 71,
|
|
376
403
|
"character": 2,
|
|
377
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
404
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L71"
|
|
378
405
|
}
|
|
379
406
|
],
|
|
380
407
|
"signatures": [
|
|
@@ -389,7 +416,7 @@
|
|
|
389
416
|
"fileName": "lib/authentication.service.ts",
|
|
390
417
|
"line": 71,
|
|
391
418
|
"character": 2,
|
|
392
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
419
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L71"
|
|
393
420
|
}
|
|
394
421
|
],
|
|
395
422
|
"type": {
|
|
@@ -410,7 +437,7 @@
|
|
|
410
437
|
"fileName": "lib/authentication.service.ts",
|
|
411
438
|
"line": 153,
|
|
412
439
|
"character": 2,
|
|
413
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
440
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L153"
|
|
414
441
|
}
|
|
415
442
|
],
|
|
416
443
|
"signatures": [
|
|
@@ -425,7 +452,7 @@
|
|
|
425
452
|
"fileName": "lib/authentication.service.ts",
|
|
426
453
|
"line": 153,
|
|
427
454
|
"character": 2,
|
|
428
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
455
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L153"
|
|
429
456
|
}
|
|
430
457
|
],
|
|
431
458
|
"type": {
|
|
@@ -469,7 +496,7 @@
|
|
|
469
496
|
"fileName": "lib/authentication.service.ts",
|
|
470
497
|
"line": 145,
|
|
471
498
|
"character": 10,
|
|
472
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
499
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L145"
|
|
473
500
|
}
|
|
474
501
|
],
|
|
475
502
|
"signatures": [
|
|
@@ -484,7 +511,7 @@
|
|
|
484
511
|
"fileName": "lib/authentication.service.ts",
|
|
485
512
|
"line": 145,
|
|
486
513
|
"character": 10,
|
|
487
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
514
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L145"
|
|
488
515
|
}
|
|
489
516
|
],
|
|
490
517
|
"type": {
|
|
@@ -505,7 +532,7 @@
|
|
|
505
532
|
"fileName": "lib/authentication.service.ts",
|
|
506
533
|
"line": 134,
|
|
507
534
|
"character": 2,
|
|
508
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
535
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L134"
|
|
509
536
|
}
|
|
510
537
|
],
|
|
511
538
|
"signatures": [
|
|
@@ -520,7 +547,7 @@
|
|
|
520
547
|
"fileName": "lib/authentication.service.ts",
|
|
521
548
|
"line": 134,
|
|
522
549
|
"character": 2,
|
|
523
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
550
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L134"
|
|
524
551
|
}
|
|
525
552
|
],
|
|
526
553
|
"type": {
|
|
@@ -541,7 +568,7 @@
|
|
|
541
568
|
"fileName": "lib/authentication.service.ts",
|
|
542
569
|
"line": 123,
|
|
543
570
|
"character": 8,
|
|
544
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
571
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L123"
|
|
545
572
|
}
|
|
546
573
|
],
|
|
547
574
|
"signatures": [
|
|
@@ -556,7 +583,7 @@
|
|
|
556
583
|
"fileName": "lib/authentication.service.ts",
|
|
557
584
|
"line": 123,
|
|
558
585
|
"character": 8,
|
|
559
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
586
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L123"
|
|
560
587
|
}
|
|
561
588
|
],
|
|
562
589
|
"type": {
|
|
@@ -623,7 +650,7 @@
|
|
|
623
650
|
"fileName": "lib/authentication.service.ts",
|
|
624
651
|
"line": 35,
|
|
625
652
|
"character": 13,
|
|
626
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
653
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication.service.ts#L35"
|
|
627
654
|
}
|
|
628
655
|
],
|
|
629
656
|
"implementedTypes": [
|
|
@@ -649,7 +676,7 @@
|
|
|
649
676
|
"fileName": "lib/authentication-guard.ts",
|
|
650
677
|
"line": 12,
|
|
651
678
|
"character": 22,
|
|
652
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
679
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication-guard.ts#L12"
|
|
653
680
|
}
|
|
654
681
|
],
|
|
655
682
|
"signatures": [
|
|
@@ -664,7 +691,7 @@
|
|
|
664
691
|
"fileName": "lib/authentication-guard.ts",
|
|
665
692
|
"line": 12,
|
|
666
693
|
"character": 22,
|
|
667
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
694
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication-guard.ts#L12"
|
|
668
695
|
}
|
|
669
696
|
],
|
|
670
697
|
"parameters": [
|
|
@@ -730,7 +757,7 @@
|
|
|
730
757
|
"fileName": "lib/provide-auth.ts",
|
|
731
758
|
"line": 9,
|
|
732
759
|
"character": 16,
|
|
733
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
760
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/provide-auth.ts#L9"
|
|
734
761
|
}
|
|
735
762
|
],
|
|
736
763
|
"signatures": [
|
|
@@ -745,7 +772,7 @@
|
|
|
745
772
|
"fileName": "lib/provide-auth.ts",
|
|
746
773
|
"line": 9,
|
|
747
774
|
"character": 16,
|
|
748
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
775
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/provide-auth.ts#L9"
|
|
749
776
|
}
|
|
750
777
|
],
|
|
751
778
|
"parameters": [
|
|
@@ -814,7 +841,7 @@
|
|
|
814
841
|
"fileName": "lib/provide-auth.ts",
|
|
815
842
|
"line": 20,
|
|
816
843
|
"character": 16,
|
|
817
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
844
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/provide-auth.ts#L20"
|
|
818
845
|
}
|
|
819
846
|
],
|
|
820
847
|
"signatures": [
|
|
@@ -829,7 +856,7 @@
|
|
|
829
856
|
"fileName": "lib/provide-auth.ts",
|
|
830
857
|
"line": 20,
|
|
831
858
|
"character": 16,
|
|
832
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
859
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/provide-auth.ts#L20"
|
|
833
860
|
}
|
|
834
861
|
],
|
|
835
862
|
"parameters": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AuthenticationGuard | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="AuthenticationGuard.html">AuthenticationGuard</a></li></ul><h1>Function AuthenticationGuard</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="AuthenticationGuard" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Authentication<wbr/>Guard</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">route</span>, <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><a href="#AuthenticationGuard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">route</span>: <span class="tsd-signature-type">ActivatedRouteSnapshot</span></span></li><li><span><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">RouterStateSnapshot</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AuthenticationGuard | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="AuthenticationGuard.html">AuthenticationGuard</a></li></ul><h1>Function AuthenticationGuard</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="AuthenticationGuard" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Authentication<wbr/>Guard</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">route</span>, <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><a href="#AuthenticationGuard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">route</span>: <span class="tsd-signature-type">ActivatedRouteSnapshot</span></span></li><li><span><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">RouterStateSnapshot</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/authentication-guard.ts#L12">lib/authentication-guard.ts:12</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><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><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><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>Private</span></label></li><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><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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/oauth</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ProvideAuth | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="ProvideAuth.html">ProvideAuth</a></li></ul><h1>Function ProvideAuth</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ProvideAuth" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Provide<wbr/>Auth</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">withConfigs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Provider</span><span class="tsd-signature-symbol">[]</span><a href="#ProvideAuth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">withConfigs</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">Provider</span><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-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Provider</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ProvideAuth | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="ProvideAuth.html">ProvideAuth</a></li></ul><h1>Function ProvideAuth</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ProvideAuth" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Provide<wbr/>Auth</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">withConfigs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Provider</span><span class="tsd-signature-symbol">[]</span><a href="#ProvideAuth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">withConfigs</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">Provider</span><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-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Provider</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/provide-auth.ts#L9">lib/provide-auth.ts:9</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><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><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><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>Private</span></label></li><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><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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/oauth</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>withAuthConfig | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="withAuthConfig.html">withAuthConfig</a></li></ul><h1>Function withAuthConfig</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="withAuthConfig" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Auth<wbr/>Config</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">config</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Provider</span><a href="#withAuthConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type">AuthConfig</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Provider</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>withAuthConfig | @rxap/oauth</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(() => app?app.showPage():document.body.style.removeProperty("display"),500)</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 tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">@rxap/oauth</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/oauth</a></li><li><a href="withAuthConfig.html">withAuthConfig</a></li></ul><h1>Function withAuthConfig</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="withAuthConfig" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Auth<wbr/>Config</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">config</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Provider</span><a href="#withAuthConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type">AuthConfig</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Provider</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/oauth/src/lib/provide-auth.ts#L20">lib/provide-auth.ts:20</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><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><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><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>Private</span></label></li><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><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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/oauth</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -111,10 +111,10 @@ export class AuthenticationService {
|
|
|
111
111
|
isAuthenticated() {
|
|
112
112
|
return firstValueFrom(this.isAuthenticated$.pipe(isDefined()));
|
|
113
113
|
}
|
|
114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0
|
|
115
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AuthenticationService, deps: [{ token: i1.OAuthService }, { token: AUTH_CONFIG, optional: true }, { token: RXAP_AUTHENTICATION_ACCESS_TOKEN }, { token: RXAP_AUTHENTICATION_DEACTIVATED }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
115
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AuthenticationService }); }
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AuthenticationService, decorators: [{
|
|
118
118
|
type: Injectable
|
|
119
119
|
}], ctorParameters: () => [{ type: i1.OAuthService }, { type: i1.AuthConfig, decorators: [{
|
|
120
120
|
type: Optional
|
package/fesm2022/rxap-oauth.mjs
CHANGED
|
@@ -112,10 +112,10 @@ class AuthenticationService {
|
|
|
112
112
|
isAuthenticated() {
|
|
113
113
|
return firstValueFrom(this.isAuthenticated$.pipe(isDefined()));
|
|
114
114
|
}
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0
|
|
116
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AuthenticationService, deps: [{ token: i1.OAuthService }, { token: AUTH_CONFIG, optional: true }, { token: RXAP_AUTHENTICATION_ACCESS_TOKEN }, { token: RXAP_AUTHENTICATION_DEACTIVATED }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
116
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AuthenticationService }); }
|
|
117
117
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AuthenticationService, decorators: [{
|
|
119
119
|
type: Injectable
|
|
120
120
|
}], ctorParameters: () => [{ type: i1.OAuthService }, { type: i1.AuthConfig, decorators: [{
|
|
121
121
|
type: Optional
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "18.0.
|
|
2
|
+
"version": "18.0.6-dev.0",
|
|
3
3
|
"name": "@rxap/oauth",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@nx/devkit": "19.
|
|
6
|
+
"@nx/devkit": "19.6.2",
|
|
7
7
|
"tslib": "2.6.2"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@angular/core": "^18.0
|
|
11
|
-
"@angular/router": "^18.0
|
|
12
|
-
"@rxap/authentication": "^18.1.2
|
|
13
|
-
"@rxap/rxjs": "^1.1.
|
|
10
|
+
"@angular/core": "^18.2.0",
|
|
11
|
+
"@angular/router": "^18.2.0",
|
|
12
|
+
"@rxap/authentication": "^18.1.2",
|
|
13
|
+
"@rxap/rxjs": "^1.1.9-dev.0",
|
|
14
14
|
"angular-oauth2-oidc": "^15.0.1",
|
|
15
15
|
"angular-oauth2-oidc-jwks": "^15.0.1",
|
|
16
16
|
"rxjs": "^7.8.1"
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"package": "@rxap/authentication",
|
|
57
|
-
"version": "18.1.2
|
|
57
|
+
"version": "18.1.2"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"package": "@rxap/rxjs",
|
|
61
|
-
"version": "1.1.
|
|
61
|
+
"version": "1.1.9-dev.0"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"package": "@rxap/utilities",
|
|
65
|
-
"version": "16.3.
|
|
65
|
+
"version": "16.3.1-dev.0"
|
|
66
66
|
}
|
|
67
67
|
]
|
|
68
68
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"directory": "packages/angular/oauth"
|
|
77
77
|
},
|
|
78
78
|
"sideEffects": false,
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "2da304d546ada9d6a46fc699fee56349dd070d9c",
|
|
80
80
|
"module": "fesm2022/rxap-oauth.mjs",
|
|
81
81
|
"typings": "index.d.ts",
|
|
82
82
|
"exports": {
|