@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
23 lines (22 loc) • 592 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
import GirafeSingleton from '../base/GirafeSingleton.js';
class ApiSessionManager extends GirafeSingleton {
initializeSingleton() {
/* For the API: Do Nothing */
}
beginSession() {
/* For the API: Do Nothing */
}
saveStateToSession() {
/* For the API: Do Nothing */
}
hasState() {
/* For the API: State is never stored */
return false;
}
setStateFromSession() {
/* For the API: State is never restored */
return false;
}
}
export default ApiSessionManager;