42 lines
1 KiB
TypeScript
42 lines
1 KiB
TypeScript
/*
|
|
This file is part of »dali«.
|
|
|
|
Copyright 2025 'kcf' <fenris@folksprak.org>
|
|
|
|
»dali« is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Lesser General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
»dali« is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
along with »dali«. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
|
|
namespace _dali.pages
|
|
{
|
|
|
|
/**
|
|
*/
|
|
lib_plankton.zoo_page.register(
|
|
"oidc_finish",
|
|
async (parameters, target_element) => {
|
|
target_element.innerHTML = "";
|
|
await _dali.oidc_finish(parameters["session_key"]);
|
|
lib_plankton.zoo_page.set(
|
|
{
|
|
"name": "overview",
|
|
"parameters": {}
|
|
}
|
|
);
|
|
return Promise.resolve<void>(undefined);
|
|
}
|
|
);
|
|
|
|
}
|