budibase/packages/auth/src/constants.js

34 lines
612 B
JavaScript
Raw Normal View History

2021-04-07 12:33:16 +02:00
exports.UserStatus = {
ACTIVE: "active",
INACTIVE: "inactive",
}
exports.Cookies = {
CurrentApp: "budibase:currentapp",
Auth: "budibase:auth",
OIDC_CONFIG: "budibase:oidc:config",
2021-04-07 12:33:16 +02:00
}
2021-04-19 12:34:07 +02:00
2021-07-23 16:29:14 +02:00
exports.Headers = {
API_KEY: "x-budibase-api-key",
API_VER: "x-budibase-api-version",
APP_ID: "x-budibase-app-id",
TYPE: "x-budibase-type",
}
2021-04-19 12:34:07 +02:00
exports.GlobalRoles = {
OWNER: "owner",
ADMIN: "admin",
BUILDER: "builder",
2021-08-04 11:02:24 +02:00
GROUP_MANAGER: "group_manager",
2021-04-19 12:34:07 +02:00
}
exports.Configs = {
SETTINGS: "settings",
ACCOUNT: "account",
SMTP: "smtp",
GOOGLE: "google",
OIDC: "oidc",
OIDC_LOGOS: "logos_oidc",
}