@humandialog/auth.svelte
Version:
Svelte package to deal with ObjectReef OAuth 2 Identity Provider
30 lines • 757 B
JavaScript
export var Mode;
(function (Mode) {
Mode[Mode["Remote"] = 0] = "Remote";
Mode[Mode["Local"] = 1] = "Local";
Mode[Mode["Disabled"] = 2] = "Disabled";
})(Mode || (Mode = {}));
export class Local_user {
username;
role = "";
groupId = 0;
uid = 0;
}
export class Configuration {
mode = Mode.Disabled;
iss = "";
client_id = "";
client_secret = "";
scope = "";
local_api = "";
local_users = [];
api_version = "v001";
tenant = "";
groups_only = false;
ask_organization_name = true;
let_choose_group_first = false;
refresh_token_persistent = true;
terms_and_conditions_href = "";
privacy_policy_href = "";
}
//# sourceMappingURL=Configuration.js.map