@sudoplatform/sudo-user 17.1.1 → 17.2.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/cjs/user/error.js +10 -1
- package/cjs/user/user-client.js +48 -32
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/highlight.css +1 -1
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +4 -4
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +18 -3
- package/docs/classes/AlreadyRegisteredError.html +148 -8
- package/docs/classes/AlreadySignedInError.html +173 -0
- package/docs/classes/DefaultSudoUserClient.html +543 -57
- package/docs/classes/IdentityServiceConfigNotFoundError.html +148 -8
- package/docs/classes/LocalAuthenticationProvider.html +123 -12
- package/docs/classes/SignInGuard.html +107 -8
- package/docs/classes/TESTAuthenticationProvider.html +138 -12
- package/docs/classes/internal.AmplifyClient.html +148 -13
- package/docs/enums/GraphQLClientAuthMode.html +64 -2
- package/docs/functions/internal.getIdentityServiceConfig.html +39 -1
- package/docs/hierarchy.html +42 -1
- package/docs/index.html +37 -2
- package/docs/interfaces/AuthenticationProvider.html +78 -5
- package/docs/interfaces/AuthenticationTokens.html +86 -7
- package/docs/interfaces/GraphQLClient.html +123 -12
- package/docs/interfaces/GraphQLClientOptions.html +92 -8
- package/docs/interfaces/SudoPlatformSignInCallback.html +68 -5
- package/docs/interfaces/SudoUserClient.html +431 -52
- package/docs/interfaces/internal.SudoUserOptions.html +91 -2
- package/docs/modules/internal.html +53 -1
- package/docs/modules.html +52 -1
- package/docs/types/IAMCredentials.html +65 -2
- package/docs/types/TokenProvider.html +33 -1
- package/docs/types/internal.Config.html +35 -1
- package/docs/types/internal.FederatedSignInConfig.html +34 -1
- package/docs/types/internal.IdentityServiceConfig.html +34 -1
- package/docs/variables/internal.Config.html +35 -1
- package/docs/variables/internal.FederatedSignInConfigCodec.html +34 -1
- package/docs/variables/internal.IdentityServiceConfigCodec.html +34 -1
- package/lib/user/error.js +8 -0
- package/lib/user/user-client.js +49 -33
- package/package.json +36 -60
- package/types/user/error.d.ts +6 -0
- package/types/user/user-client-interface.d.ts +12 -0
- package/types/user/user-client.d.ts +1 -0
|
@@ -1,21 +1,120 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SignInGuard | @sudoplatform/sudo-user</title><meta name="description" content="Documentation for @sudoplatform/sudo-user"/><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><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SignInGuard | @sudoplatform/sudo-user</title><meta name="description" content="Documentation for @sudoplatform/sudo-user"/><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><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sudoplatform/sudo-user</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">SignInGuard</a></li></ul>
|
|
12
|
+
<h1>Class SignInGuard</h1></div>
|
|
13
|
+
<section class="tsd-panel tsd-comment">
|
|
14
|
+
<div class="tsd-comment tsd-typography"><p>A reusable helper class that provides sign-in checking functionality for Sudo Platform libraries.</p>
|
|
2
15
|
<p>This class encapsulates the logic for checking if a user is signed in and invoking a callback
|
|
3
16
|
to handle sign-in when needed. It is designed to be used by any SudoPlatform Client
|
|
4
17
|
to provide consistent sign-in callback behavior across the platform.</p>
|
|
5
|
-
</div></section><aside class="tsd-sources"
|
|
6
|
-
|
|
18
|
+
</div></section><aside class="tsd-sources">
|
|
19
|
+
<ul>
|
|
20
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/sign-in-guard.ts#L19">src/user/sign-in-guard.ts:19</a></li></ul></aside>
|
|
21
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
22
|
+
<section class="tsd-panel tsd-index-panel">
|
|
23
|
+
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
24
|
+
<h5 class="tsd-index-heading uppercase">Index</h5></summary>
|
|
25
|
+
<div class="tsd-accordion-details">
|
|
26
|
+
<section class="tsd-index-section">
|
|
27
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="constructors">Constructors<a href="#constructors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
28
|
+
<div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
29
|
+
</div></section>
|
|
30
|
+
<section class="tsd-index-section">
|
|
31
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="methods">Methods<a href="#methods" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
32
|
+
<div class="tsd-index-list"><a href="#ensuresignedin" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ensure<wbr/>Signed<wbr/>In</span></a>
|
|
7
33
|
<a href="#setcallback" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Callback</span></a>
|
|
8
|
-
</div></section></div></details></section></section
|
|
34
|
+
</div></section></div></details></section></section>
|
|
35
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
36
|
+
<h2 class="tsd-anchor-link" id="constructors-1">Constructors<a href="#constructors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
37
|
+
<section>
|
|
38
|
+
<section class="tsd-panel tsd-member">
|
|
39
|
+
<h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
40
|
+
<ul class="tsd-signatures">
|
|
41
|
+
<li class="">
|
|
42
|
+
<div class="tsd-signature tsd-anchor-link" id="constructorsigninguard"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">SignInGuard</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">userClient</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/SudoUserClient.html" class="tsd-signature-type tsd-kind-interface">SudoUserClient</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/SudoPlatformSignInCallback.html" class="tsd-signature-type tsd-kind-interface">SudoPlatformSignInCallback</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">SignInGuard</a><a href="#constructorsigninguard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
43
|
+
<div class="tsd-description">
|
|
44
|
+
<div class="tsd-parameters">
|
|
45
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
46
|
+
<ul class="tsd-parameter-list">
|
|
47
|
+
<li><span><span class="tsd-kind-parameter">userClient</span>: <a href="../interfaces/SudoUserClient.html" class="tsd-signature-type tsd-kind-interface">SudoUserClient</a></span></li>
|
|
48
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <a href="../interfaces/SudoPlatformSignInCallback.html" class="tsd-signature-type tsd-kind-interface">SudoPlatformSignInCallback</a></span></li></ul></div>
|
|
49
|
+
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">SignInGuard</a></h4><aside class="tsd-sources">
|
|
50
|
+
<ul>
|
|
51
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/sign-in-guard.ts#L23">src/user/sign-in-guard.ts:23</a></li></ul></aside></div></li></ul></section></section></details>
|
|
52
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
53
|
+
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
54
|
+
<section>
|
|
55
|
+
<section class="tsd-panel tsd-member">
|
|
56
|
+
<h3 class="tsd-anchor-link" id="ensuresignedin"><span>ensure<wbr/>Signed<wbr/>In</span><a href="#ensuresignedin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
57
|
+
<ul class="tsd-signatures">
|
|
58
|
+
<li class="">
|
|
59
|
+
<div class="tsd-signature tsd-anchor-link" id="ensuresignedin-1"><span class="tsd-kind-call-signature">ensureSignedIn</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="#ensuresignedin-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
60
|
+
<div class="tsd-description">
|
|
61
|
+
<div class="tsd-comment tsd-typography"><p>Checks if the user is signed in and invokes the callback if needed.</p>
|
|
9
62
|
<p>This method performs the following:</p>
|
|
10
63
|
<ol>
|
|
11
64
|
<li>If no callback is set, returns immediately (backward-compatible behaviour).</li>
|
|
12
65
|
<li>Checks if the user is signed in using <a href="../interfaces/SudoUserClient.html#issignedin" class="tsd-kind-method">SudoUserClient.isSignedIn</a>.</li>
|
|
13
66
|
<li>If not signed in, invokes the callback's <a href="../interfaces/SudoPlatformSignInCallback.html#signin" class="tsd-kind-method">SudoPlatformSignInCallback.signIn</a> method.</li>
|
|
14
67
|
</ol>
|
|
15
|
-
</div
|
|
68
|
+
</div>
|
|
69
|
+
<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>
|
|
70
|
+
<div class="tsd-comment tsd-typography">
|
|
71
|
+
<div class="tsd-tag-throws">
|
|
72
|
+
<h4 class="tsd-anchor-link" id="throws">Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Any error thrown by the callback's signIn() method, or errors from
|
|
16
73
|
checking sign-in status (sign-in status errors are swallowed and treated as
|
|
17
74
|
"not signed in").</p>
|
|
18
|
-
</div></div><aside class="tsd-sources"
|
|
19
|
-
|
|
75
|
+
</div></div><aside class="tsd-sources">
|
|
76
|
+
<ul>
|
|
77
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/sign-in-guard.ts#L53">src/user/sign-in-guard.ts:53</a></li></ul></aside></div></li></ul></section>
|
|
78
|
+
<section class="tsd-panel tsd-member">
|
|
79
|
+
<h3 class="tsd-anchor-link" id="setcallback"><span>set<wbr/>Callback</span><a href="#setcallback" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
80
|
+
<ul class="tsd-signatures">
|
|
81
|
+
<li class="">
|
|
82
|
+
<div class="tsd-signature tsd-anchor-link" id="setcallback-1"><span class="tsd-kind-call-signature">setCallback</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/SudoPlatformSignInCallback.html" class="tsd-signature-type tsd-kind-interface">SudoPlatformSignInCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setcallback-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
83
|
+
<div class="tsd-description">
|
|
84
|
+
<div class="tsd-comment tsd-typography"><p>Sets the callback to be invoked when sign-in is required.</p>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="tsd-parameters">
|
|
87
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
88
|
+
<ul class="tsd-parameter-list">
|
|
89
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <a href="../interfaces/SudoPlatformSignInCallback.html" class="tsd-signature-type tsd-kind-interface">SudoPlatformSignInCallback</a></span>
|
|
90
|
+
<div class="tsd-comment tsd-typography"><p>A callback implementing <a href="../interfaces/SudoPlatformSignInCallback.html" class="tsd-kind-interface">SudoPlatformSignInCallback</a>,
|
|
20
91
|
or undefined to disable sign-in checking.</p>
|
|
21
|
-
</div></li></ul></div
|
|
92
|
+
</div></li></ul></div>
|
|
93
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
94
|
+
<ul>
|
|
95
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/sign-in-guard.ts#L37">src/user/sign-in-guard.ts:37</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
96
|
+
<div class="col-sidebar">
|
|
97
|
+
<div class="page-menu">
|
|
98
|
+
<div class="tsd-navigation settings">
|
|
99
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
100
|
+
<h3>Settings</h3></summary>
|
|
101
|
+
<div class="tsd-accordion-details">
|
|
102
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
103
|
+
<ul id="tsd-filter-options">
|
|
104
|
+
<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>
|
|
105
|
+
<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>
|
|
106
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
107
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
108
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
109
|
+
<h3>On This Page</h3></summary>
|
|
110
|
+
<div class="tsd-accordion-details">
|
|
111
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary>
|
|
112
|
+
<div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details>
|
|
113
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary>
|
|
114
|
+
<div><a href="#ensuresignedin"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ensure<wbr/>Signed<wbr/>In</span></a><a href="#setcallback"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Callback</span></a></div></details></div></details></div>
|
|
115
|
+
<div class="site-menu">
|
|
116
|
+
<nav class="tsd-navigation"><a href="../modules.html">@sudoplatform/sudo-user</a>
|
|
117
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
118
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
119
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
120
|
+
<div class="overlay"></div></body></html>
|
|
@@ -1,14 +1,140 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TESTAuthenticationProvider | @sudoplatform/sudo-user</title><meta name="description" content="Documentation for @sudoplatform/sudo-user"/><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><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TESTAuthenticationProvider | @sudoplatform/sudo-user</title><meta name="description" content="Documentation for @sudoplatform/sudo-user"/><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><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sudoplatform/sudo-user</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">TESTAuthenticationProvider</a></li></ul>
|
|
12
|
+
<h1>Class TESTAuthenticationProvider</h1></div>
|
|
13
|
+
<section class="tsd-panel tsd-comment">
|
|
14
|
+
<div class="tsd-comment tsd-typography"><p>Authentication provider for generating authentication info using a TEST registration key.</p>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="tsd-comment tsd-typography">
|
|
17
|
+
<div class="tsd-tag-param">
|
|
18
|
+
<h4 class="tsd-anchor-link" id="param-name">Param: name<a href="#param-name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>provider name. This name will be prepended to the generated UUID in JWT sub.</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="tsd-tag-param">
|
|
21
|
+
<h4 class="tsd-anchor-link" id="param-privatekey">Param: privateKey<a href="#param-privatekey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>PEM encoded RSA private key.</p>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="tsd-tag-param">
|
|
24
|
+
<h4 class="tsd-anchor-link" id="param-keyid">Param: keyId<a href="#param-keyid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>key ID of the TEST registration key which is obtained from the admin console.</p>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="tsd-tag-param">
|
|
27
|
+
<h4 class="tsd-anchor-link" id="param-attributes">Param: attributes<a href="#param-attributes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>additional attributes to be added to the issued authentication info.</p>
|
|
28
|
+
</div></div></section>
|
|
29
|
+
<section class="tsd-panel">
|
|
30
|
+
<h4>Implements</h4>
|
|
31
|
+
<ul class="tsd-hierarchy">
|
|
32
|
+
<li><a href="../interfaces/AuthenticationProvider.html" class="tsd-signature-type tsd-kind-interface">AuthenticationProvider</a></li></ul></section><aside class="tsd-sources">
|
|
33
|
+
<ul>
|
|
34
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/auth-provider.ts#L94">src/user/auth-provider.ts:94</a></li></ul></aside>
|
|
35
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
36
|
+
<section class="tsd-panel tsd-index-panel">
|
|
37
|
+
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
38
|
+
<h5 class="tsd-index-heading uppercase">Index</h5></summary>
|
|
39
|
+
<div class="tsd-accordion-details">
|
|
40
|
+
<section class="tsd-index-section">
|
|
41
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="constructors">Constructors<a href="#constructors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
42
|
+
<div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
43
|
+
</div></section>
|
|
44
|
+
<section class="tsd-index-section">
|
|
45
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
46
|
+
<div class="tsd-index-list"><a href="#testregistrationaudience" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>test<wbr/>Registration<wbr/>Audience</span></a>
|
|
8
47
|
<a href="#testregistrationissuer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>test<wbr/>Registration<wbr/>Issuer</span></a>
|
|
9
|
-
</div></section
|
|
48
|
+
</div></section>
|
|
49
|
+
<section class="tsd-index-section">
|
|
50
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="methods">Methods<a href="#methods" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
51
|
+
<div class="tsd-index-list"><a href="#getauthenticationinfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Authentication<wbr/>Info</span></a>
|
|
10
52
|
<a href="#reset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a>
|
|
11
|
-
</div></section></div></details></section></section
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
|
|
53
|
+
</div></section></div></details></section></section>
|
|
54
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
55
|
+
<h2 class="tsd-anchor-link" id="constructors-1">Constructors<a href="#constructors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
56
|
+
<section>
|
|
57
|
+
<section class="tsd-panel tsd-member">
|
|
58
|
+
<h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
59
|
+
<ul class="tsd-signatures">
|
|
60
|
+
<li class="">
|
|
61
|
+
<div class="tsd-signature tsd-anchor-link" id="constructortestauthenticationprovider"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">TESTAuthenticationProvider</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">privateKey</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">keyId</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">attributes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">TESTAuthenticationProvider</a><a href="#constructortestauthenticationprovider" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
62
|
+
<div class="tsd-description">
|
|
63
|
+
<div class="tsd-parameters">
|
|
64
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
65
|
+
<ul class="tsd-parameter-list">
|
|
66
|
+
<li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li>
|
|
67
|
+
<li><span><span class="tsd-kind-parameter">privateKey</span>: <span class="tsd-signature-type">string</span></span></li>
|
|
68
|
+
<li><span><span class="tsd-kind-parameter">keyId</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'register_key'</span></span></li>
|
|
69
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">attributes</span>: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></span></li></ul></div>
|
|
70
|
+
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">TESTAuthenticationProvider</a></h4><aside class="tsd-sources">
|
|
71
|
+
<ul>
|
|
72
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/auth-provider.ts#L97">src/user/auth-provider.ts:97</a></li></ul></aside></div></li></ul></section></section></details>
|
|
73
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
74
|
+
<h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
75
|
+
<section>
|
|
76
|
+
<section class="tsd-panel tsd-member">
|
|
77
|
+
<h3 class="tsd-anchor-link" id="testregistrationaudience"><code class="tsd-tag">Readonly</code><span>test<wbr/>Registration<wbr/>Audience</span><a href="#testregistrationaudience" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
78
|
+
<div class="tsd-signature"><span class="tsd-kind-property">testRegistrationAudience</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'testRegisterAudience'</span></div><aside class="tsd-sources">
|
|
79
|
+
<ul>
|
|
80
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/auth-provider.ts#L96">src/user/auth-provider.ts:96</a></li></ul></aside></section>
|
|
81
|
+
<section class="tsd-panel tsd-member">
|
|
82
|
+
<h3 class="tsd-anchor-link" id="testregistrationissuer"><code class="tsd-tag">Readonly</code><span>test<wbr/>Registration<wbr/>Issuer</span><a href="#testregistrationissuer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
83
|
+
<div class="tsd-signature"><span class="tsd-kind-property">testRegistrationIssuer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'testRegisterIssuer'</span></div><aside class="tsd-sources">
|
|
84
|
+
<ul>
|
|
85
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/auth-provider.ts#L95">src/user/auth-provider.ts:95</a></li></ul></aside></section></section></details>
|
|
86
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
87
|
+
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
88
|
+
<section>
|
|
89
|
+
<section class="tsd-panel tsd-member">
|
|
90
|
+
<h3 class="tsd-anchor-link" id="getauthenticationinfo"><span>get<wbr/>Authentication<wbr/>Info</span><a href="#getauthenticationinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
91
|
+
<ul class="tsd-signatures">
|
|
92
|
+
<li class="">
|
|
93
|
+
<div class="tsd-signature tsd-anchor-link" id="getauthenticationinfo-1"><span class="tsd-kind-call-signature">getAuthenticationInfo</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">AuthenticationInfo</span><span class="tsd-signature-symbol">></span><a href="#getauthenticationinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
94
|
+
<div class="tsd-description">
|
|
95
|
+
<div class="tsd-comment tsd-typography"><p>Generates and returns authentication information.</p>
|
|
96
|
+
</div>
|
|
97
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AuthenticationInfo</span><span class="tsd-signature-symbol">></span></h4><p>authentication information.</p>
|
|
98
|
+
<aside class="tsd-sources">
|
|
99
|
+
<p>Implementation of <a href="../interfaces/AuthenticationProvider.html">AuthenticationProvider</a>.<a href="../interfaces/AuthenticationProvider.html#getauthenticationinfo">getAuthenticationInfo</a></p>
|
|
100
|
+
<ul>
|
|
101
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/auth-provider.ts#L104">src/user/auth-provider.ts:104</a></li></ul></aside></div></li></ul></section>
|
|
102
|
+
<section class="tsd-panel tsd-member">
|
|
103
|
+
<h3 class="tsd-anchor-link" id="reset"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
104
|
+
<ul class="tsd-signatures">
|
|
105
|
+
<li class="">
|
|
106
|
+
<div class="tsd-signature tsd-anchor-link" id="reset-1"><span class="tsd-kind-call-signature">reset</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
107
|
+
<div class="tsd-description">
|
|
108
|
+
<div class="tsd-comment tsd-typography"><p>Resets internal state and releases any associated resources.</p>
|
|
109
|
+
</div>
|
|
110
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
111
|
+
<p>Implementation of <a href="../interfaces/AuthenticationProvider.html">AuthenticationProvider</a>.<a href="../interfaces/AuthenticationProvider.html#reset">reset</a></p>
|
|
112
|
+
<ul>
|
|
113
|
+
<li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/e9ea129dc5195b2e28a6cfc8cb56acd7a815b9e6/src/user/auth-provider.ts#L119">src/user/auth-provider.ts:119</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
114
|
+
<div class="col-sidebar">
|
|
115
|
+
<div class="page-menu">
|
|
116
|
+
<div class="tsd-navigation settings">
|
|
117
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
118
|
+
<h3>Settings</h3></summary>
|
|
119
|
+
<div class="tsd-accordion-details">
|
|
120
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
121
|
+
<ul id="tsd-filter-options">
|
|
122
|
+
<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>
|
|
123
|
+
<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>
|
|
124
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
125
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
126
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
127
|
+
<h3>On This Page</h3></summary>
|
|
128
|
+
<div class="tsd-accordion-details">
|
|
129
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary>
|
|
130
|
+
<div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details>
|
|
131
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
|
|
132
|
+
<div><a href="#testregistrationaudience"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>test<wbr/>Registration<wbr/>Audience</span></a><a href="#testregistrationissuer"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>test<wbr/>Registration<wbr/>Issuer</span></a></div></details>
|
|
133
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary>
|
|
134
|
+
<div><a href="#getauthenticationinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Authentication<wbr/>Info</span></a><a href="#reset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a></div></details></div></details></div>
|
|
135
|
+
<div class="site-menu">
|
|
136
|
+
<nav class="tsd-navigation"><a href="../modules.html">@sudoplatform/sudo-user</a>
|
|
137
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
138
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
139
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
140
|
+
<div class="overlay"></div></body></html>
|