@arsedizioni/ars-utils 22.0.36 → 22.0.37
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.
|
@@ -2691,6 +2691,13 @@ class ClipperLoginService {
|
|
|
2691
2691
|
return of([]);
|
|
2692
2692
|
}));
|
|
2693
2693
|
}
|
|
2694
|
+
/**
|
|
2695
|
+
* Clears all session-storage authentication keys and resets the login state.
|
|
2696
|
+
* @param clearOAuthToken - When `true`, the OAuth bearer token is also removed.
|
|
2697
|
+
*/
|
|
2698
|
+
clear(clearOAuthToken = false) {
|
|
2699
|
+
this.core.clear(clearOAuthToken);
|
|
2700
|
+
}
|
|
2694
2701
|
/**
|
|
2695
2702
|
* Requests a new one-time password for the given repository.
|
|
2696
2703
|
* @param id - The repository ID for which the OTP should be generated.
|