UNPKG

@keycloakify/keycloak-account-ui

Version:
27 lines (26 loc) 899 B
import { type BaseEnvironment } from "./ui-shared"; export type Environment = BaseEnvironment & { /** The URL to the root of the account console. */ baseUrl: string; /** The locale of the user */ locale: string; /** Name of the referrer application in the back link */ referrerName?: string; /** UR to the referrer application in the back link */ referrerUrl?: string; /** Feature flags */ features: Feature; }; export type Feature = { isRegistrationEmailAsUsername: boolean; isEditUserNameAllowed: boolean; isLinkedAccountsEnabled: boolean; isMyResourcesEnabled: boolean; deleteAccountAllowed: boolean; updateEmailFeatureEnabled: boolean; updateEmailActionEnabled: boolean; isViewGroupsEnabled: boolean; isViewOrganizationsEnabled: boolean; isOid4VciEnabled: boolean; }; export declare const environment: Environment;