@atol-sh/js 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +22 -2
- package/dist/index.cjs +9284 -8602
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +9284 -8602
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -543,6 +543,24 @@ interface AtolBrowserAuth {
|
|
|
543
543
|
* release. Unsupported auth modes and initialized/session states reject.
|
|
544
544
|
*/
|
|
545
545
|
cancelLogin(): Promise<void>;
|
|
546
|
+
/**
|
|
547
|
+
* Whether this runtime holds the exact hidden failed-initialization
|
|
548
|
+
* authority required by {@link AtolBrowserAuth.restartLogin}. This is a
|
|
549
|
+
* read-only lifecycle capability, not a probe of arbitrary durable custody.
|
|
550
|
+
*/
|
|
551
|
+
canRestartLogin(): boolean;
|
|
552
|
+
/**
|
|
553
|
+
* Recover from a rejected, signed-out response-vault initialization caused
|
|
554
|
+
* by an authorization abandoned in another tab. The SDK first invalidates
|
|
555
|
+
* the abandoned origin-wide generation, then rejects only the exact durable
|
|
556
|
+
* reference, binding, mode, generation, and active slot captured by
|
|
557
|
+
* `init()`. A fresh authorization starts only after authenticated server
|
|
558
|
+
* settlement and local custody release complete.
|
|
559
|
+
*
|
|
560
|
+
* Concurrent callers share one operation. Ordinary `cancelLogin()` remains
|
|
561
|
+
* same-tab only and will not adopt custody merely because a tab owner differs.
|
|
562
|
+
*/
|
|
563
|
+
restartLogin(options?: BeginLoginOptions): Promise<void>;
|
|
546
564
|
/**
|
|
547
565
|
* Persist durable signed-out authority, clear local state, attempt refresh
|
|
548
566
|
* revocation, then redirect to the end_session endpoint with a one-use
|
package/dist/index.d.ts
CHANGED
|
@@ -543,6 +543,24 @@ interface AtolBrowserAuth {
|
|
|
543
543
|
* release. Unsupported auth modes and initialized/session states reject.
|
|
544
544
|
*/
|
|
545
545
|
cancelLogin(): Promise<void>;
|
|
546
|
+
/**
|
|
547
|
+
* Whether this runtime holds the exact hidden failed-initialization
|
|
548
|
+
* authority required by {@link AtolBrowserAuth.restartLogin}. This is a
|
|
549
|
+
* read-only lifecycle capability, not a probe of arbitrary durable custody.
|
|
550
|
+
*/
|
|
551
|
+
canRestartLogin(): boolean;
|
|
552
|
+
/**
|
|
553
|
+
* Recover from a rejected, signed-out response-vault initialization caused
|
|
554
|
+
* by an authorization abandoned in another tab. The SDK first invalidates
|
|
555
|
+
* the abandoned origin-wide generation, then rejects only the exact durable
|
|
556
|
+
* reference, binding, mode, generation, and active slot captured by
|
|
557
|
+
* `init()`. A fresh authorization starts only after authenticated server
|
|
558
|
+
* settlement and local custody release complete.
|
|
559
|
+
*
|
|
560
|
+
* Concurrent callers share one operation. Ordinary `cancelLogin()` remains
|
|
561
|
+
* same-tab only and will not adopt custody merely because a tab owner differs.
|
|
562
|
+
*/
|
|
563
|
+
restartLogin(options?: BeginLoginOptions): Promise<void>;
|
|
546
564
|
/**
|
|
547
565
|
* Persist durable signed-out authority, clear local state, attempt refresh
|
|
548
566
|
* revocation, then redirect to the end_session endpoint with a one-use
|