@rdlabo/ionic-angular-kit 21.4.9 → 21.4.10
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/fesm2022/rdlabo-ionic-angular-kit-offline.mjs +1 -1
- package/fesm2022/rdlabo-ionic-angular-kit-offline.mjs.map +1 -1
- package/fesm2022/rdlabo-ionic-angular-kit.mjs +21 -12
- package/fesm2022/rdlabo-ionic-angular-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/types/rdlabo-ionic-angular-kit.d.ts +16 -3
package/package.json
CHANGED
|
@@ -899,7 +899,15 @@ interface KitRemoteAccessRecovery {
|
|
|
899
899
|
* @returns `false` when a newer logout or identity transition superseded this activation.
|
|
900
900
|
*/
|
|
901
901
|
activate(lease: KitAuthAccessLease): Promise<boolean>;
|
|
902
|
-
|
|
902
|
+
/**
|
|
903
|
+
* Resume remote-only work after access has been published.
|
|
904
|
+
*
|
|
905
|
+
* @param lease - Post-grant lease supplied by the kit. Check it after every await before
|
|
906
|
+
* navigation or other user-visible side effects, because logout or a newer identity transition
|
|
907
|
+
* may supersede this resume while transport work is settling. Optional for source compatibility
|
|
908
|
+
* with callers that manually resumed a recovery result before leases were introduced.
|
|
909
|
+
*/
|
|
910
|
+
resume(lease?: KitAuthAccessLease): Promise<void>;
|
|
903
911
|
}
|
|
904
912
|
/** Recovery-specific authentication configuration consumed by {@link KitAuthRecoveryService}. */
|
|
905
913
|
interface KitAuthRecoveryConfig {
|
|
@@ -945,8 +953,13 @@ declare class KitAuthAccessService {
|
|
|
945
953
|
suspend(lease: KitAuthAccessLease): boolean;
|
|
946
954
|
/** Publish a verified local-replica-only session. */
|
|
947
955
|
grantLocal(): void;
|
|
948
|
-
/**
|
|
949
|
-
|
|
956
|
+
/**
|
|
957
|
+
* Publish a remotely authenticated session and return the lease that owns that publication.
|
|
958
|
+
*
|
|
959
|
+
* The revision is fixed before synchronous `mode$` subscribers run. A subscriber that starts a
|
|
960
|
+
* newer logout or identity transition therefore makes the returned lease stale.
|
|
961
|
+
*/
|
|
962
|
+
grantRemote(): KitAuthAccessLease;
|
|
950
963
|
/** Revoke both local and remote access. */
|
|
951
964
|
clear(): void;
|
|
952
965
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitAuthAccessService, never>;
|