@ikonai/sdk-react-ui 1.3.3 → 1.3.4
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/auth/oauth-continuation.d.ts +4 -2
- package/index.js +706 -704
- package/package.json +1 -1
|
@@ -36,7 +36,9 @@ export declare function hasPendingOAuthContinuation(): boolean;
|
|
|
36
36
|
* prompt, which is the guest/global exclusion this flow needs and already had. A `global` visitor is one
|
|
37
37
|
* shared space-wide user, so authorizing as one would hand every client the same identity.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
39
|
+
* Returns whether the browser was handed on to consent. Failure is not one outcome but two, and they
|
|
40
|
+
* are treated differently: something a retry could fix (no readable session yet, a failed request)
|
|
41
|
+
* keeps the pointer so a later attempt can succeed, while a refusal from the server clears it, because
|
|
42
|
+
* retrying a spent or expired authorization only traps the user in a flow that cannot finish.
|
|
41
43
|
*/
|
|
42
44
|
export declare function completeOAuthContinuation(token: string | null): Promise<boolean>;
|