/** PgSettings key to set the PostgreSQL parameter for storing authentication subject name. */ export const MOSAIC_AUTH_SUBJECT_NAME = 'mosaic.auth.subject_name'; /** PgSettings key to set the PostgreSQL parameter for storing authentication token permissions. */ export const MOSAIC_AUTH_PERMISSIONS = 'mosaic.auth.permissions'; /** PgSettings key to set the PostgreSQL parameter for storing authentication token tags. */ export const MOSAIC_AUTH_TAGS = 'mosaic.auth.tags'; /** PgSettings key to set the PostgreSQL parameter for storing authentication token tenant id. */ export const MOSAIC_TENANT_ID = 'mosaic.tenant_id'; /** PgSettings key to set the PostgreSQL parameter for storing authentication token environment id. */ export const MOSAIC_ENVIRONMENT_ID = 'mosaic.environment_id'; /** * ID Service specific PgSettings keys to set the PostgreSQL parameters * (Values copied from PgSetConfigKey enum for easier reference) */ export const MOSAIC_ID_SERVICE_TENANT_ID = 'axinom.auth.tenantId'; export const MOSAIC_ID_SERVICE_ENVIRONMENT_ID = 'axinom.auth.applicationId'; export const MOSAIC_ID_SERVICE_AUTH_SUBJECT_NAME = 'axinom.auth.user'; export const MOSAIC_ID_SERVICE_AUTH_PERMISSIONS = 'axinom.auth.permissions'; export const MOSAIC_ID_SERVICE_AUTH_TAGS = 'axinom.auth.tags'; /** Fallback subject name when subject name is not set in the token. */ export const DEFAULT_AUTH_SUBJECT_NAME = 'Anonymous'; /** Fallback username for non-graphql DB requests */ export const DEFAULT_DB_USERNAME = 'Unknown'; /** Default username for system-related DB requests, e.g. seed data operations. */ export const DEFAULT_SYSTEM_USERNAME = 'System'; /** PgSettings key to set the PostgreSQL parameter for storing authenticated end-user's user ID */ export const MOSAIC_AUTH_END_USER_ID = 'mosaic.auth.user_id'; /** PgSettings key to set the PostgreSQL parameter for storing authenticated end-user's profile ID */ export const MOSAIC_AUTH_PROFILE_ID = 'mosaic.auth.profile_id'; /** pgMemento session info key under which additional session metadata is stored in the db audit trail. */ export const PGMEMENTO_SESSION_INFO = 'pgmemento.session_info';