@sudoplatform/sudo-user 12.2.3 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/client/apiClient.js +5 -0
- package/cjs/client/apiClient.js.map +1 -1
- package/cjs/core/api-key-names.js +5 -0
- package/cjs/core/api-key-names.js.map +1 -1
- package/cjs/core/auth-store.js +5 -0
- package/cjs/core/auth-store.js.map +1 -1
- package/cjs/core/crypto.js +5 -0
- package/cjs/core/crypto.js.map +1 -1
- package/cjs/core/key-manager.js +5 -0
- package/cjs/core/key-manager.js.map +1 -1
- package/cjs/core/protected-store.js +5 -0
- package/cjs/core/protected-store.js.map +1 -1
- package/cjs/core/publisher.js +5 -0
- package/cjs/core/publisher.js.map +1 -1
- package/cjs/core/sdk-config.js +5 -0
- package/cjs/core/sdk-config.js.map +1 -1
- package/cjs/core/subscriber.js +5 -0
- package/cjs/core/subscriber.js.map +1 -1
- package/cjs/index.js +5 -0
- package/cjs/index.js.map +1 -1
- package/cjs/runtimes/browser/browser-crypto.js +5 -0
- package/cjs/runtimes/browser/browser-crypto.js.map +1 -1
- package/cjs/runtimes/node/node-crypto.js +5 -0
- package/cjs/runtimes/node/node-crypto.js.map +1 -1
- package/cjs/sdk.js +5 -0
- package/cjs/sdk.js.map +1 -1
- package/cjs/user/auth-provider.js +21 -1
- package/cjs/user/auth-provider.js.map +1 -1
- package/cjs/user/auth.js +5 -0
- package/cjs/user/auth.js.map +1 -1
- package/cjs/user/error.js +5 -0
- package/cjs/user/error.js.map +1 -1
- package/cjs/user/identity-provider.js +5 -0
- package/cjs/user/identity-provider.js.map +1 -1
- package/cjs/user/user-client-interface.js +5 -0
- package/cjs/user/user-client-interface.js.map +1 -1
- package/cjs/user/user-client.js +6 -11
- package/cjs/user/user-client.js.map +1 -1
- package/cjs/user/user-key-names.js +5 -0
- package/cjs/user/user-key-names.js.map +1 -1
- package/cjs/utils/parse-token.js +5 -0
- package/cjs/utils/parse-token.js.map +1 -1
- package/cjs/utils/resolvable-promise.js +5 -0
- package/cjs/utils/resolvable-promise.js.map +1 -1
- package/cjs/utils/sign-options-builder.js +5 -0
- package/cjs/utils/sign-options-builder.js.map +1 -1
- package/docs/assets/main.js +1 -1
- package/docs/classes/AlreadyRegisteredError.html +2 -2
- package/docs/classes/DefaultSudoUserClient.html +31 -31
- package/docs/classes/IdentityServiceConfigNotFoundError.html +2 -2
- package/docs/classes/LocalAuthenticationProvider.html +4 -4
- package/docs/classes/TESTAuthenticationProvider.html +6 -6
- package/docs/functions/internal.getIdentityServiceConfig.html +1 -1
- package/docs/interfaces/AuthenticationProvider.html +3 -3
- package/docs/interfaces/AuthenticationTokens.html +5 -5
- package/docs/interfaces/SudoUserClient.html +26 -26
- package/docs/modules/internal.html +1 -1
- package/docs/types/internal.Config.html +2 -2
- package/docs/types/internal.FederatedSignInConfig.html +1 -1
- package/docs/types/internal.IdentityServiceConfig.html +1 -1
- package/docs/variables/internal.Config-1.html +2 -2
- package/docs/variables/internal.FederatedSignInConfigCodec.html +1 -1
- package/docs/variables/internal.IdentityServiceConfigCodec.html +1 -1
- package/lib/client/apiClient.js +5 -0
- package/lib/client/apiClient.js.map +1 -1
- package/lib/core/api-key-names.js +5 -0
- package/lib/core/api-key-names.js.map +1 -1
- package/lib/core/auth-store.js +5 -0
- package/lib/core/auth-store.js.map +1 -1
- package/lib/core/crypto.js +5 -0
- package/lib/core/crypto.js.map +1 -1
- package/lib/core/key-manager.js +5 -0
- package/lib/core/key-manager.js.map +1 -1
- package/lib/core/protected-store.js +5 -0
- package/lib/core/protected-store.js.map +1 -1
- package/lib/core/publisher.js +5 -0
- package/lib/core/publisher.js.map +1 -1
- package/lib/core/sdk-config.js +5 -0
- package/lib/core/sdk-config.js.map +1 -1
- package/lib/core/subscriber.js +5 -0
- package/lib/core/subscriber.js.map +1 -1
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -1
- package/lib/runtimes/browser/browser-crypto.js +5 -0
- package/lib/runtimes/browser/browser-crypto.js.map +1 -1
- package/lib/runtimes/node/node-crypto.js +5 -0
- package/lib/runtimes/node/node-crypto.js.map +1 -1
- package/lib/sdk.js +5 -0
- package/lib/sdk.js.map +1 -1
- package/lib/user/auth-provider.js +21 -1
- package/lib/user/auth-provider.js.map +1 -1
- package/lib/user/auth.js +5 -0
- package/lib/user/auth.js.map +1 -1
- package/lib/user/error.js +5 -0
- package/lib/user/error.js.map +1 -1
- package/lib/user/identity-provider.js +5 -0
- package/lib/user/identity-provider.js.map +1 -1
- package/lib/user/user-client-interface.js +5 -0
- package/lib/user/user-client-interface.js.map +1 -1
- package/lib/user/user-client.js +6 -11
- package/lib/user/user-client.js.map +1 -1
- package/lib/user/user-key-names.js +5 -0
- package/lib/user/user-key-names.js.map +1 -1
- package/lib/utils/parse-token.js +5 -0
- package/lib/utils/parse-token.js.map +1 -1
- package/lib/utils/resolvable-promise.js +5 -0
- package/lib/utils/resolvable-promise.js.map +1 -1
- package/lib/utils/sign-options-builder.js +5 -0
- package/lib/utils/sign-options-builder.js.map +1 -1
- package/package.json +30 -29
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<ul class="tsd-hierarchy">
|
|
38
38
|
<li><a href="../interfaces/AuthenticationProvider.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthenticationProvider</a></li></ul></section><aside class="tsd-sources">
|
|
39
39
|
<ul>
|
|
40
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
40
|
+
<li>Defined in src/user/auth-provider.ts:154</li></ul></aside>
|
|
41
41
|
<section class="tsd-panel-group tsd-index-group">
|
|
42
42
|
<section class="tsd-panel tsd-index-panel">
|
|
43
43
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> attributes: <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></h5></li></ul></div>
|
|
75
75
|
<h4 class="tsd-returns-title">Returns <a href="LocalAuthenticationProvider.html" class="tsd-signature-type" data-tsd-kind="Class">LocalAuthenticationProvider</a></h4><aside class="tsd-sources">
|
|
76
76
|
<ul>
|
|
77
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
77
|
+
<li>Defined in src/user/auth-provider.ts:155</li></ul></aside></li></ul></section></section>
|
|
78
78
|
<section class="tsd-panel-group tsd-member-group">
|
|
79
79
|
<h2>Methods</h2>
|
|
80
80
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAuthenticationInfo" class="tsd-anchor"></a>
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
<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><aside class="tsd-sources">
|
|
90
90
|
<p>Implementation of <a href="../interfaces/AuthenticationProvider.html">AuthenticationProvider</a>.<a href="../interfaces/AuthenticationProvider.html#getAuthenticationInfo">getAuthenticationInfo</a></p>
|
|
91
91
|
<ul>
|
|
92
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
92
|
+
<li>Defined in src/user/auth-provider.ts:163</li></ul></aside></li></ul></section>
|
|
93
93
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="reset" class="tsd-anchor"></a>
|
|
94
94
|
<h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
95
95
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
101
101
|
<p>Implementation of <a href="../interfaces/AuthenticationProvider.html">AuthenticationProvider</a>.<a href="../interfaces/AuthenticationProvider.html#reset">reset</a></p>
|
|
102
102
|
<ul>
|
|
103
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
103
|
+
<li>Defined in src/user/auth-provider.ts:178</li></ul></aside></li></ul></section></section></div>
|
|
104
104
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
105
105
|
<div class="tsd-navigation settings">
|
|
106
106
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<ul class="tsd-hierarchy">
|
|
36
36
|
<li><a href="../interfaces/AuthenticationProvider.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthenticationProvider</a></li></ul></section><aside class="tsd-sources">
|
|
37
37
|
<ul>
|
|
38
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
38
|
+
<li>Defined in src/user/auth-provider.ts:94</li></ul></aside>
|
|
39
39
|
<section class="tsd-panel-group tsd-index-group">
|
|
40
40
|
<section class="tsd-panel tsd-index-panel">
|
|
41
41
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -75,19 +75,19 @@
|
|
|
75
75
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> attributes: <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></h5></li></ul></div>
|
|
76
76
|
<h4 class="tsd-returns-title">Returns <a href="TESTAuthenticationProvider.html" class="tsd-signature-type" data-tsd-kind="Class">TESTAuthenticationProvider</a></h4><aside class="tsd-sources">
|
|
77
77
|
<ul>
|
|
78
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
78
|
+
<li>Defined in src/user/auth-provider.ts:97</li></ul></aside></li></ul></section></section>
|
|
79
79
|
<section class="tsd-panel-group tsd-member-group">
|
|
80
80
|
<h2>Properties</h2>
|
|
81
81
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="testRegistrationAudience" class="tsd-anchor"></a>
|
|
82
82
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>test<wbr/>Registration<wbr/>Audience</span><a href="#testRegistrationAudience" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
83
83
|
<div class="tsd-signature">test<wbr/>Registration<wbr/>Audience<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">
|
|
84
84
|
<ul>
|
|
85
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
85
|
+
<li>Defined in src/user/auth-provider.ts:96</li></ul></aside></section>
|
|
86
86
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="testRegistrationIssuer" class="tsd-anchor"></a>
|
|
87
87
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>test<wbr/>Registration<wbr/>Issuer</span><a href="#testRegistrationIssuer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
88
88
|
<div class="tsd-signature">test<wbr/>Registration<wbr/>Issuer<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">
|
|
89
89
|
<ul>
|
|
90
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
90
|
+
<li>Defined in src/user/auth-provider.ts:95</li></ul></aside></section></section>
|
|
91
91
|
<section class="tsd-panel-group tsd-member-group">
|
|
92
92
|
<h2>Methods</h2>
|
|
93
93
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAuthenticationInfo" class="tsd-anchor"></a>
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
<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><aside class="tsd-sources">
|
|
103
103
|
<p>Implementation of <a href="../interfaces/AuthenticationProvider.html">AuthenticationProvider</a>.<a href="../interfaces/AuthenticationProvider.html#getAuthenticationInfo">getAuthenticationInfo</a></p>
|
|
104
104
|
<ul>
|
|
105
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
105
|
+
<li>Defined in src/user/auth-provider.ts:104</li></ul></aside></li></ul></section>
|
|
106
106
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="reset" class="tsd-anchor"></a>
|
|
107
107
|
<h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
108
108
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
114
114
|
<p>Implementation of <a href="../interfaces/AuthenticationProvider.html">AuthenticationProvider</a>.<a href="../interfaces/AuthenticationProvider.html#reset">reset</a></p>
|
|
115
115
|
<ul>
|
|
116
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
116
|
+
<li>Defined in src/user/auth-provider.ts:119</li></ul></aside></li></ul></section></section></div>
|
|
117
117
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
118
118
|
<div class="tsd-navigation settings">
|
|
119
119
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<li class="tsd-description">
|
|
23
23
|
<h4 class="tsd-returns-title">Returns <a href="../modules/internal.html" class="tsd-signature-type" data-tsd-kind="Namespace">internal</a><span class="tsd-signature-symbol">.</span><a href="../variables/internal.Config-1.html" class="tsd-signature-type" data-tsd-kind="Variable">Config</a></h4><aside class="tsd-sources">
|
|
24
24
|
<ul>
|
|
25
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
25
|
+
<li>Defined in src/core/sdk-config.ts:70</li></ul></aside></li></ul></section></div>
|
|
26
26
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
27
27
|
<div class="tsd-navigation settings">
|
|
28
28
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<li><a href="../classes/LocalAuthenticationProvider.html" class="tsd-signature-type" data-tsd-kind="Class">LocalAuthenticationProvider</a></li>
|
|
26
26
|
<li><a href="../classes/TESTAuthenticationProvider.html" class="tsd-signature-type" data-tsd-kind="Class">TESTAuthenticationProvider</a></li></ul></section><aside class="tsd-sources">
|
|
27
27
|
<ul>
|
|
28
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
28
|
+
<li>Defined in src/user/auth-provider.ts:41</li></ul></aside>
|
|
29
29
|
<section class="tsd-panel-group tsd-index-group">
|
|
30
30
|
<section class="tsd-panel tsd-index-panel">
|
|
31
31
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
<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><aside class="tsd-sources">
|
|
51
51
|
<ul>
|
|
52
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
52
|
+
<li>Defined in src/user/auth-provider.ts:47</li></ul></aside></li></ul></section>
|
|
53
53
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="reset" class="tsd-anchor"></a>
|
|
54
54
|
<h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
55
55
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
61
61
|
<ul>
|
|
62
|
-
<li>Defined in src/user/auth-provider.ts:
|
|
62
|
+
<li>Defined in src/user/auth-provider.ts:51</li></ul></aside></li></ul></section></section></div>
|
|
63
63
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
64
64
|
<div class="tsd-navigation settings">
|
|
65
65
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<ul class="tsd-hierarchy">
|
|
32
32
|
<li><span class="target">AuthenticationTokens</span></li></ul></section><aside class="tsd-sources">
|
|
33
33
|
<ul>
|
|
34
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
34
|
+
<li>Defined in src/user/user-client-interface.ts:18</li></ul></aside>
|
|
35
35
|
<section class="tsd-panel-group tsd-index-group">
|
|
36
36
|
<section class="tsd-panel tsd-index-panel">
|
|
37
37
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -50,22 +50,22 @@
|
|
|
50
50
|
<h3 class="tsd-anchor-link"><span>access<wbr/>Token</span><a href="#accessToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
51
51
|
<div class="tsd-signature">access<wbr/>Token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
52
52
|
<ul>
|
|
53
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
53
|
+
<li>Defined in src/user/user-client-interface.ts:20</li></ul></aside></section>
|
|
54
54
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="idToken" class="tsd-anchor"></a>
|
|
55
55
|
<h3 class="tsd-anchor-link"><span>id<wbr/>Token</span><a href="#idToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
56
56
|
<div class="tsd-signature">id<wbr/>Token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
57
57
|
<ul>
|
|
58
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
58
|
+
<li>Defined in src/user/user-client-interface.ts:19</li></ul></aside></section>
|
|
59
59
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="refreshToken" class="tsd-anchor"></a>
|
|
60
60
|
<h3 class="tsd-anchor-link"><span>refresh<wbr/>Token</span><a href="#refreshToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
61
61
|
<div class="tsd-signature">refresh<wbr/>Token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
62
62
|
<ul>
|
|
63
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
63
|
+
<li>Defined in src/user/user-client-interface.ts:21</li></ul></aside></section>
|
|
64
64
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="tokenExpiry" class="tsd-anchor"></a>
|
|
65
65
|
<h3 class="tsd-anchor-link"><span>token<wbr/>Expiry</span><a href="#tokenExpiry" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
66
66
|
<div class="tsd-signature">token<wbr/>Expiry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
67
67
|
<ul>
|
|
68
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
68
|
+
<li>Defined in src/user/user-client-interface.ts:22</li></ul></aside></section></section></div>
|
|
69
69
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
70
70
|
<div class="tsd-navigation settings">
|
|
71
71
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -28,7 +28,7 @@ handling federated sign in, managing keys and performing cryptographic operation
|
|
|
28
28
|
<ul class="tsd-hierarchy">
|
|
29
29
|
<li><a href="../classes/DefaultSudoUserClient.html" class="tsd-signature-type" data-tsd-kind="Class">DefaultSudoUserClient</a></li></ul></section><aside class="tsd-sources">
|
|
30
30
|
<ul>
|
|
31
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
31
|
+
<li>Defined in src/user/user-client-interface.ts:29</li></ul></aside>
|
|
32
32
|
<section class="tsd-panel-group tsd-index-group">
|
|
33
33
|
<section class="tsd-panel tsd-index-panel">
|
|
34
34
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -73,7 +73,7 @@ handling federated sign in, managing keys and performing cryptographic operation
|
|
|
73
73
|
<div class="tsd-comment tsd-typography"><p>Getter to retrieve the SudoKeyManager</p>
|
|
74
74
|
</div><aside class="tsd-sources">
|
|
75
75
|
<ul>
|
|
76
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
76
|
+
<li>Defined in src/user/user-client-interface.ts:187</li></ul></aside></section></section>
|
|
77
77
|
<section class="tsd-panel-group tsd-member-group">
|
|
78
78
|
<h2>Methods</h2>
|
|
79
79
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="clearAuthenticationTokens" class="tsd-anchor"></a>
|
|
@@ -85,7 +85,7 @@ handling federated sign in, managing keys and performing cryptographic operation
|
|
|
85
85
|
</div>
|
|
86
86
|
<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">
|
|
87
87
|
<ul>
|
|
88
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
88
|
+
<li>Defined in src/user/user-client-interface.ts:166</li></ul></aside></li></ul></section>
|
|
89
89
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deregister" class="tsd-anchor"></a>
|
|
90
90
|
<h3 class="tsd-anchor-link"><span>deregister</span><a href="#deregister" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
91
91
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -96,7 +96,7 @@ be signed in.</p>
|
|
|
96
96
|
</div>
|
|
97
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">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
98
98
|
<ul>
|
|
99
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
99
|
+
<li>Defined in src/user/user-client-interface.ts:182</li></ul></aside></li></ul></section>
|
|
100
100
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getAccessToken" class="tsd-anchor"></a>
|
|
101
101
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Access<wbr/>Token</span><a href="#getAccessToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
102
102
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -108,7 +108,7 @@ be signed in.</p>
|
|
|
108
108
|
</div>
|
|
109
109
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
110
110
|
<ul>
|
|
111
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
111
|
+
<li>Defined in src/user/user-client-interface.ts:53</li></ul></aside></li></ul></section>
|
|
112
112
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getIdToken" class="tsd-anchor"></a>
|
|
113
113
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Id<wbr/>Token</span><a href="#getIdToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
114
114
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -120,7 +120,7 @@ be signed in.</p>
|
|
|
120
120
|
</div>
|
|
121
121
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
122
122
|
<ul>
|
|
123
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
123
|
+
<li>Defined in src/user/user-client-interface.ts:47</li></ul></aside></li></ul></section>
|
|
124
124
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getLatestAuthToken" class="tsd-anchor"></a>
|
|
125
125
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Latest<wbr/>Auth<wbr/>Token</span><a href="#getLatestAuthToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
126
126
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -132,7 +132,7 @@ be signed in.</p>
|
|
|
132
132
|
</div>
|
|
133
133
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
134
134
|
<ul>
|
|
135
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
135
|
+
<li>Defined in src/user/user-client-interface.ts:91</li></ul></aside></li></ul></section>
|
|
136
136
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getRefreshToken" class="tsd-anchor"></a>
|
|
137
137
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Refresh<wbr/>Token</span><a href="#getRefreshToken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
138
138
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -144,7 +144,7 @@ be signed in.</p>
|
|
|
144
144
|
</div>
|
|
145
145
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
146
146
|
<ul>
|
|
147
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
147
|
+
<li>Defined in src/user/user-client-interface.ts:59</li></ul></aside></li></ul></section>
|
|
148
148
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getRefreshTokenExpiry" class="tsd-anchor"></a>
|
|
149
149
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Refresh<wbr/>Token<wbr/>Expiry</span><a href="#getRefreshTokenExpiry" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
150
150
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -156,7 +156,7 @@ be signed in.</p>
|
|
|
156
156
|
</div>
|
|
157
157
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
158
158
|
<ul>
|
|
159
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
159
|
+
<li>Defined in src/user/user-client-interface.ts:71</li></ul></aside></li></ul></section>
|
|
160
160
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getSubject" class="tsd-anchor"></a>
|
|
161
161
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Subject</span><a href="#getSubject" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
162
162
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -169,7 +169,7 @@ Note: This is an internal method used by other Sudo platform SDKs.</p>
|
|
|
169
169
|
</div>
|
|
170
170
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
171
171
|
<ul>
|
|
172
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
172
|
+
<li>Defined in src/user/user-client-interface.ts:111</li></ul></aside></li></ul></section>
|
|
173
173
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getTokenExpiry" class="tsd-anchor"></a>
|
|
174
174
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Token<wbr/>Expiry</span><a href="#getTokenExpiry" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
175
175
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -181,7 +181,7 @@ Note: This is an internal method used by other Sudo platform SDKs.</p>
|
|
|
181
181
|
</div>
|
|
182
182
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
183
183
|
<ul>
|
|
184
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
184
|
+
<li>Defined in src/user/user-client-interface.ts:65</li></ul></aside></li></ul></section>
|
|
185
185
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getUserClaim" class="tsd-anchor"></a>
|
|
186
186
|
<h3 class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Claim</span><a href="#getUserClaim" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
187
187
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -198,7 +198,7 @@ Note: This is an internal method used by other Sudo platform SDKs.</p>
|
|
|
198
198
|
</div></li></ul></div>
|
|
199
199
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
200
200
|
<ul>
|
|
201
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
201
|
+
<li>Defined in src/user/user-client-interface.ts:117</li></ul></aside></li></ul></section>
|
|
202
202
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getUserName" class="tsd-anchor"></a>
|
|
203
203
|
<h3 class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Name</span><a href="#getUserName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
204
204
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -211,7 +211,7 @@ the support team when diagnosing an issue related to a specific user.</p>
|
|
|
211
211
|
</div>
|
|
212
212
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
213
213
|
<ul>
|
|
214
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
214
|
+
<li>Defined in src/user/user-client-interface.ts:98</li></ul></aside></li></ul></section>
|
|
215
215
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="globalSignOut" class="tsd-anchor"></a>
|
|
216
216
|
<h3 class="tsd-anchor-link"><span>global<wbr/>Sign<wbr/>Out</span><a href="#globalSignOut" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
217
217
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -221,7 +221,7 @@ the support team when diagnosing an issue related to a specific user.</p>
|
|
|
221
221
|
</div>
|
|
222
222
|
<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">
|
|
223
223
|
<ul>
|
|
224
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
224
|
+
<li>Defined in src/user/user-client-interface.ts:125</li></ul></aside></li></ul></section>
|
|
225
225
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="isRegistered" class="tsd-anchor"></a>
|
|
226
226
|
<h3 class="tsd-anchor-link"><span>is<wbr/>Registered</span><a href="#isRegistered" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
227
227
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -233,7 +233,7 @@ the support team when diagnosing an issue related to a specific user.</p>
|
|
|
233
233
|
</div>
|
|
234
234
|
<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">
|
|
235
235
|
<ul>
|
|
236
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
236
|
+
<li>Defined in src/user/user-client-interface.ts:155</li></ul></aside></li></ul></section>
|
|
237
237
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="isSignedIn" class="tsd-anchor"></a>
|
|
238
238
|
<h3 class="tsd-anchor-link"><span>is<wbr/>Signed<wbr/>In</span><a href="#isSignedIn" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
239
239
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -246,7 +246,7 @@ considered signed in if it cached valid ID, access and refresh tokens.</p>
|
|
|
246
246
|
</div>
|
|
247
247
|
<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">
|
|
248
248
|
<ul>
|
|
249
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
249
|
+
<li>Defined in src/user/user-client-interface.ts:78</li></ul></aside></li></ul></section>
|
|
250
250
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="presentFederatedSignInUI" class="tsd-anchor"></a>
|
|
251
251
|
<h3 class="tsd-anchor-link"><span>present<wbr/>Federated<wbr/>Sign<wbr/>InUI</span><a href="#presentFederatedSignInUI" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
252
252
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -256,7 +256,7 @@ considered signed in if it cached valid ID, access and refresh tokens.</p>
|
|
|
256
256
|
</div>
|
|
257
257
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
258
258
|
<ul>
|
|
259
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
259
|
+
<li>Defined in src/user/user-client-interface.ts:33</li></ul></aside></li></ul></section>
|
|
260
260
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="presentSignOutUI" class="tsd-anchor"></a>
|
|
261
261
|
<h3 class="tsd-anchor-link"><span>present<wbr/>Sign<wbr/>OutUI</span><a href="#presentSignOutUI" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
262
262
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -268,7 +268,7 @@ will be invalidated, but the user is not logged out of Cognito.</p>
|
|
|
268
268
|
</div>
|
|
269
269
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
270
270
|
<ul>
|
|
271
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
271
|
+
<li>Defined in src/user/user-client-interface.ts:172</li></ul></aside></li></ul></section>
|
|
272
272
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="processFederatedSignInTokens" class="tsd-anchor"></a>
|
|
273
273
|
<h3 class="tsd-anchor-link"><span>process<wbr/>Federated<wbr/>Sign<wbr/>In<wbr/>Tokens</span><a href="#processFederatedSignInTokens" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
274
274
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -288,7 +288,7 @@ The tokens are passed to the web app via a redirect URL.</p>
|
|
|
288
288
|
</div></li></ul></div>
|
|
289
289
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="AuthenticationTokens.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthenticationTokens</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
290
290
|
<ul>
|
|
291
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
291
|
+
<li>Defined in src/user/user-client-interface.ts:41</li></ul></aside></li></ul></section>
|
|
292
292
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="refreshTokens" class="tsd-anchor"></a>
|
|
293
293
|
<h3 class="tsd-anchor-link"><span>refresh<wbr/>Tokens</span><a href="#refreshTokens" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
294
294
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -307,7 +307,7 @@ The tokens are passed to the web app via a redirect URL.</p>
|
|
|
307
307
|
</div></li></ul></div>
|
|
308
308
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="AuthenticationTokens.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthenticationTokens</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
309
309
|
<ul>
|
|
310
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
310
|
+
<li>Defined in src/user/user-client-interface.ts:85</li></ul></aside></li></ul></section>
|
|
311
311
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="registerWithAuthenticationProvider" class="tsd-anchor"></a>
|
|
312
312
|
<h3 class="tsd-anchor-link"><span>register<wbr/>With<wbr/>Authentication<wbr/>Provider</span><a href="#registerWithAuthenticationProvider" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
313
313
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -332,7 +332,7 @@ to authorize the registration request.</p>
|
|
|
332
332
|
</div></li></ul></div>
|
|
333
333
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
334
334
|
<ul>
|
|
335
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
335
|
+
<li>Defined in src/user/user-client-interface.ts:135</li></ul></aside></li></ul></section>
|
|
336
336
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="reset" class="tsd-anchor"></a>
|
|
337
337
|
<h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
338
338
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -342,7 +342,7 @@ to authorize the registration request.</p>
|
|
|
342
342
|
</div>
|
|
343
343
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
344
344
|
<ul>
|
|
345
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
345
|
+
<li>Defined in src/user/user-client-interface.ts:176</li></ul></aside></li></ul></section>
|
|
346
346
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="setUserName" class="tsd-anchor"></a>
|
|
347
347
|
<h3 class="tsd-anchor-link"><span>set<wbr/>User<wbr/>Name</span><a href="#setUserName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
348
348
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -359,7 +359,7 @@ to authorize the registration request.</p>
|
|
|
359
359
|
</div></li></ul></div>
|
|
360
360
|
<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">
|
|
361
361
|
<ul>
|
|
362
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
362
|
+
<li>Defined in src/user/user-client-interface.ts:104</li></ul></aside></li></ul></section>
|
|
363
363
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="signInWithAuthenticationProvider" class="tsd-anchor"></a>
|
|
364
364
|
<h3 class="tsd-anchor-link"><span>sign<wbr/>In<wbr/>With<wbr/>Authentication<wbr/>Provider</span><a href="#signInWithAuthenticationProvider" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
365
365
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -380,7 +380,7 @@ the external identity registered with <em>registerWithAuthenticationProvider</em
|
|
|
380
380
|
</div></li></ul></div>
|
|
381
381
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="AuthenticationTokens.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthenticationTokens</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
382
382
|
<ul>
|
|
383
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
383
|
+
<li>Defined in src/user/user-client-interface.ts:147</li></ul></aside></li></ul></section>
|
|
384
384
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="signInWithKey" class="tsd-anchor"></a>
|
|
385
385
|
<h3 class="tsd-anchor-link"><span>sign<wbr/>In<wbr/>With<wbr/>Key</span><a href="#signInWithKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
386
386
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -393,7 +393,7 @@ the <em>registerWithAuthenticationProvider</em> method.</p>
|
|
|
393
393
|
</div>
|
|
394
394
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="AuthenticationTokens.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthenticationTokens</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
395
395
|
<ul>
|
|
396
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
396
|
+
<li>Defined in src/user/user-client-interface.ts:162</li></ul></aside></li></ul></section>
|
|
397
397
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="signOut" class="tsd-anchor"></a>
|
|
398
398
|
<h3 class="tsd-anchor-link"><span>sign<wbr/>Out</span><a href="#signOut" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
399
399
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -403,7 +403,7 @@ the <em>registerWithAuthenticationProvider</em> method.</p>
|
|
|
403
403
|
</div>
|
|
404
404
|
<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">
|
|
405
405
|
<ul>
|
|
406
|
-
<li>Defined in src/user/user-client-interface.ts:
|
|
406
|
+
<li>Defined in src/user/user-client-interface.ts:121</li></ul></aside></li></ul></section></section></div>
|
|
407
407
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
408
408
|
<div class="tsd-navigation settings">
|
|
409
409
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<li><a href="internal.html">internal</a></li></ul>
|
|
17
17
|
<h1>Namespace internal</h1></div><aside class="tsd-sources">
|
|
18
18
|
<ul>
|
|
19
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
19
|
+
<li>Defined in src/core/sdk-config.ts:7</li></ul></aside>
|
|
20
20
|
<section class="tsd-panel-group tsd-index-group">
|
|
21
21
|
<section class="tsd-panel tsd-index-panel">
|
|
22
22
|
<h3 class="tsd-index-heading uppercase">Index</h3>
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<h1>Type alias Config</h1></div>
|
|
19
19
|
<div class="tsd-signature">Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="../modules/internal.html" class="tsd-signature-type" data-tsd-kind="Namespace">internal</a><span class="tsd-signature-symbol">.</span><a href="../variables/internal.Config-1.html" class="tsd-signature-type" data-tsd-kind="Variable">Config</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
20
20
|
<ul>
|
|
21
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
22
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
21
|
+
<li>Defined in src/core/sdk-config.ts:55</li>
|
|
22
|
+
<li>Defined in src/core/sdk-config.ts:66</li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<h1>Type alias FederatedSignInConfig</h1></div>
|
|
19
19
|
<div class="tsd-signature">Federated<wbr/>Sign<wbr/>In<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="../variables/internal.FederatedSignInConfigCodec.html" class="tsd-signature-type" data-tsd-kind="Variable">FederatedSignInConfigCodec</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
20
20
|
<ul>
|
|
21
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
21
|
+
<li>Defined in src/core/sdk-config.ts:68</li></ul></aside></div>
|
|
22
22
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
23
23
|
<div class="tsd-navigation settings">
|
|
24
24
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<h1>Type alias IdentityServiceConfig</h1></div>
|
|
19
19
|
<div class="tsd-signature">Identity<wbr/>Service<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="../variables/internal.IdentityServiceConfigCodec.html" class="tsd-signature-type" data-tsd-kind="Variable">IdentityServiceConfigCodec</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
20
20
|
<ul>
|
|
21
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
21
|
+
<li>Defined in src/core/sdk-config.ts:67</li></ul></aside></div>
|
|
22
22
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
23
23
|
<div class="tsd-navigation settings">
|
|
24
24
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<h1>Variable Config<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
19
19
|
<div class="tsd-signature">Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IntersectionC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>identityService<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IntersectionC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>apiKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>apiUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>bucket<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>clientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>identityPoolId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>poolId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>region<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>registrationMethods<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span>transientBucket<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>refreshTokenLifetime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">]</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><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>federatedSignIn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IntersectionC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>appClientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>signInRedirectUri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>signOutRedirectUri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>webDomain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>identityProvider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>refreshTokenLifetime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">]</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><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
|
20
20
|
<ul>
|
|
21
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
22
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
21
|
+
<li>Defined in src/core/sdk-config.ts:55</li>
|
|
22
|
+
<li>Defined in src/core/sdk-config.ts:66</li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<h1>Variable FederatedSignInConfigCodec<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
19
19
|
<div class="tsd-signature">Federated<wbr/>Sign<wbr/>In<wbr/>Config<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IntersectionC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>appClientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>signInRedirectUri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>signOutRedirectUri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>webDomain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>identityProvider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>refreshTokenLifetime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
|
20
20
|
<ul>
|
|
21
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
21
|
+
<li>Defined in src/core/sdk-config.ts:36</li></ul></aside></div>
|
|
22
22
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
23
23
|
<div class="tsd-navigation settings">
|
|
24
24
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<h1>Variable IdentityServiceConfigCodec<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
19
19
|
<div class="tsd-signature">Identity<wbr/>Service<wbr/>Config<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IntersectionC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>apiKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>apiUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>bucket<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>clientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>identityPoolId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>poolId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>region<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span> </span>registrationMethods<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span>transientBucket<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>refreshTokenLifetime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
|
20
20
|
<ul>
|
|
21
|
-
<li>Defined in src/core/sdk-config.ts:
|
|
21
|
+
<li>Defined in src/core/sdk-config.ts:12</li></ul></aside></div>
|
|
22
22
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
23
23
|
<div class="tsd-navigation settings">
|
|
24
24
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/lib/client/apiClient.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023 Anonyome Labs, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
1
6
|
import { AWSAppSyncClient, AUTH_TYPE } from 'aws-appsync';
|
|
2
7
|
import { DeregisterDocument, RegisterFederatedIdDocument, GlobalSignOutDocument, } from '../gen/graphql-types';
|
|
3
8
|
import { NotSignedInError, FatalError, ServiceError, UnknownGraphQLError, NotAuthorizedError, } from '@sudoplatform/sudo-common';
|