@rxap/oauth 18.0.3 → 18.0.4-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 +4 -0
- package/README.md +1 -1
- package/compodoc/dependencies.html +3 -3
- package/compodoc/index.html +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/docs/classes/AuthenticationService.html +3 -3
- package/docs/documentation.json +27 -27
- package/docs/functions/AuthenticationGuard.html +1 -1
- package/docs/functions/ProvideAuth.html +1 -1
- package/docs/functions/withAuthConfig.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +8 -8
- package/theme.css +56 -1
|
@@ -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/b25f99b1af6cf155d5b610745962d065ee997f75/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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/81c62bc6d1bdd0a922506db7f1edda3821eb298d/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">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/b25f99b1af6cf155d5b610745962d065ee997f75/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/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>
|
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/b25f99b1af6cf155d5b610745962d065ee997f75/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/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L45"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"parameters": [
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"fileName": "lib/authentication.service.ts",
|
|
145
145
|
"line": 43,
|
|
146
146
|
"character": 19,
|
|
147
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
147
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L43"
|
|
148
148
|
}
|
|
149
149
|
],
|
|
150
150
|
"type": {
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"fileName": "lib/authentication.service.ts",
|
|
184
184
|
"line": 49,
|
|
185
185
|
"character": 21,
|
|
186
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
186
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L49"
|
|
187
187
|
}
|
|
188
188
|
],
|
|
189
189
|
"type": {
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"fileName": "lib/authentication.service.ts",
|
|
211
211
|
"line": 51,
|
|
212
212
|
"character": 21,
|
|
213
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
213
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L51"
|
|
214
214
|
}
|
|
215
215
|
],
|
|
216
216
|
"type": {
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
"fileName": "lib/authentication.service.ts",
|
|
246
246
|
"line": 36,
|
|
247
247
|
"character": 2,
|
|
248
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
248
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L36"
|
|
249
249
|
}
|
|
250
250
|
],
|
|
251
251
|
"type": {
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"fileName": "lib/authentication.service.ts",
|
|
290
290
|
"line": 53,
|
|
291
291
|
"character": 21,
|
|
292
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
292
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L53"
|
|
293
293
|
}
|
|
294
294
|
],
|
|
295
295
|
"type": {
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
"fileName": "lib/authentication.service.ts",
|
|
312
312
|
"line": 37,
|
|
313
313
|
"character": 18,
|
|
314
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
314
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L37"
|
|
315
315
|
}
|
|
316
316
|
],
|
|
317
317
|
"type": {
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"fileName": "lib/authentication.service.ts",
|
|
351
351
|
"line": 46,
|
|
352
352
|
"character": 21,
|
|
353
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
353
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L46"
|
|
354
354
|
}
|
|
355
355
|
],
|
|
356
356
|
"type": {
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
"fileName": "lib/authentication.service.ts",
|
|
375
375
|
"line": 71,
|
|
376
376
|
"character": 2,
|
|
377
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
377
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L71"
|
|
378
378
|
}
|
|
379
379
|
],
|
|
380
380
|
"signatures": [
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
"fileName": "lib/authentication.service.ts",
|
|
390
390
|
"line": 71,
|
|
391
391
|
"character": 2,
|
|
392
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
392
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L71"
|
|
393
393
|
}
|
|
394
394
|
],
|
|
395
395
|
"type": {
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
"fileName": "lib/authentication.service.ts",
|
|
411
411
|
"line": 153,
|
|
412
412
|
"character": 2,
|
|
413
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
413
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L153"
|
|
414
414
|
}
|
|
415
415
|
],
|
|
416
416
|
"signatures": [
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"fileName": "lib/authentication.service.ts",
|
|
426
426
|
"line": 153,
|
|
427
427
|
"character": 2,
|
|
428
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
428
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L153"
|
|
429
429
|
}
|
|
430
430
|
],
|
|
431
431
|
"type": {
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
"fileName": "lib/authentication.service.ts",
|
|
470
470
|
"line": 145,
|
|
471
471
|
"character": 10,
|
|
472
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
472
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L145"
|
|
473
473
|
}
|
|
474
474
|
],
|
|
475
475
|
"signatures": [
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
"fileName": "lib/authentication.service.ts",
|
|
485
485
|
"line": 145,
|
|
486
486
|
"character": 10,
|
|
487
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
487
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L145"
|
|
488
488
|
}
|
|
489
489
|
],
|
|
490
490
|
"type": {
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
"fileName": "lib/authentication.service.ts",
|
|
506
506
|
"line": 134,
|
|
507
507
|
"character": 2,
|
|
508
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
508
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L134"
|
|
509
509
|
}
|
|
510
510
|
],
|
|
511
511
|
"signatures": [
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"fileName": "lib/authentication.service.ts",
|
|
521
521
|
"line": 134,
|
|
522
522
|
"character": 2,
|
|
523
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
523
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L134"
|
|
524
524
|
}
|
|
525
525
|
],
|
|
526
526
|
"type": {
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
"fileName": "lib/authentication.service.ts",
|
|
542
542
|
"line": 123,
|
|
543
543
|
"character": 8,
|
|
544
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
544
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L123"
|
|
545
545
|
}
|
|
546
546
|
],
|
|
547
547
|
"signatures": [
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
"fileName": "lib/authentication.service.ts",
|
|
557
557
|
"line": 123,
|
|
558
558
|
"character": 8,
|
|
559
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
559
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L123"
|
|
560
560
|
}
|
|
561
561
|
],
|
|
562
562
|
"type": {
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
"fileName": "lib/authentication.service.ts",
|
|
624
624
|
"line": 35,
|
|
625
625
|
"character": 13,
|
|
626
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
626
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication.service.ts#L35"
|
|
627
627
|
}
|
|
628
628
|
],
|
|
629
629
|
"implementedTypes": [
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
"fileName": "lib/authentication-guard.ts",
|
|
650
650
|
"line": 12,
|
|
651
651
|
"character": 22,
|
|
652
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
652
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication-guard.ts#L12"
|
|
653
653
|
}
|
|
654
654
|
],
|
|
655
655
|
"signatures": [
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
"fileName": "lib/authentication-guard.ts",
|
|
665
665
|
"line": 12,
|
|
666
666
|
"character": 22,
|
|
667
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
667
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/authentication-guard.ts#L12"
|
|
668
668
|
}
|
|
669
669
|
],
|
|
670
670
|
"parameters": [
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
"fileName": "lib/provide-auth.ts",
|
|
731
731
|
"line": 9,
|
|
732
732
|
"character": 16,
|
|
733
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
733
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/provide-auth.ts#L9"
|
|
734
734
|
}
|
|
735
735
|
],
|
|
736
736
|
"signatures": [
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
"fileName": "lib/provide-auth.ts",
|
|
746
746
|
"line": 9,
|
|
747
747
|
"character": 16,
|
|
748
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
748
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/provide-auth.ts#L9"
|
|
749
749
|
}
|
|
750
750
|
],
|
|
751
751
|
"parameters": [
|
|
@@ -814,7 +814,7 @@
|
|
|
814
814
|
"fileName": "lib/provide-auth.ts",
|
|
815
815
|
"line": 20,
|
|
816
816
|
"character": 16,
|
|
817
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
817
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/provide-auth.ts#L20"
|
|
818
818
|
}
|
|
819
819
|
],
|
|
820
820
|
"signatures": [
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
"fileName": "lib/provide-auth.ts",
|
|
830
830
|
"line": 20,
|
|
831
831
|
"character": 16,
|
|
832
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
832
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/b25f99b1af6cf155d5b610745962d065ee997f75/packages/angular/oauth/src/lib/provide-auth.ts#L20"
|
|
833
833
|
}
|
|
834
834
|
],
|
|
835
835
|
"parameters": [
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
897
|
"kind": "code",
|
|
898
|
-
"text": "```bash\nyarn add @angular/core@^18.0.1 @angular/router@^18.0.1 @rxap/authentication@^18.1.0
|
|
898
|
+
"text": "```bash\nyarn add @angular/core@^18.0.1 @angular/router@^18.0.1 @rxap/authentication@^18.1.0 @rxap/rxjs@^1.1.6 angular-oauth2-oidc@^15.0.1 angular-oauth2-oidc-jwks@^15.0.1 rxjs@^7.8.1 \n```"
|
|
899
899
|
},
|
|
900
900
|
{
|
|
901
901
|
"kind": "text",
|
|
@@ -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/b25f99b1af6cf155d5b610745962d065ee997f75/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/b25f99b1af6cf155d5b610745962d065ee997f75/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>
|