Quasr provides a multi-tenant service where each tenant is a logical separation from all other tenants on the platform. You can create as many tenants as you like for various reasons:
Every tenant has the following isolated resources:
Your resources can be in any of the below states:
PENDING means the resource is currently not yet ready and some action still needs to happen, such as validating a factor enrollment, or a code extension that is still being built and deployed. Generally PENDING items will expire quickly.ENABLED means the resource is good for use. Generally ENABLED items will take much longer to expire and expiry is related to inactivity.DISABLED means the resource can't be used - but it can still be re-enabled whenever desired (not tokens).LOCKED means the resource can't be used and it is not possible to re-enable it. Such state can arise because a parent resource has been disabled or locked, but it can also indicate that it has been locked by us in rare circumstances. The only exceptions are users and clients locked by an admin, which an admin can unlock again (see Locking of Users and Clients).All tenants have the following general configuration options:
label: string) - Textual label returned in the Authentication API and used on the Login UI, Account UI and Admin UI.status: string) - The current status of the tenant. If disabled, the tenant can't be used and all resources will be locked.environment: string) - What the tenant is used for: DEVELOPMENT (default), TEST or PRODUCTION. It sets the tenant's Network Security Level (see Network): LOW for development, NORMAL for test and HIGH for production. You can set it when creating the tenant and switch between DEVELOPMENT and TEST, or to PRODUCTION, at any time; once a tenant is PRODUCTION it stays PRODUCTION (contact support@quasr.io to change it).LOW becomes DEVELOPMENT, NORMAL becomes TEST and HIGH becomes PRODUCTION. Through the Management API, passing anything other than PRODUCTION for a PRODUCTION tenant is rejected with INVALID_PARAMETER.config.contacts.privacy: string) - Email address that receives privacy and data protection notifications for your tenant, such as changes to our Data Processing Agreement (DPA). Optional, but when set it must be a valid email address. Security notifications go to the Security Email instead (config.contacts.security, see Network — Configuration).config.interfaces.color: string) - Color used as primary color for the Login UI, Account UI and Admin UI (see Interfaces — Branding).#3C78D8 which is the default color.config.interfaces.logo: string) - Logo used on the Login UI, Account UI and Admin UI (instead of the Quasr logo).jpeg or png format and with a max size of 440x440 pixels. If providing the logo using the Management API or Agent API you must base64-encode the logo with prefix data:image/{jpeg|png};base64,.config.interfaces.login.options: string[]) - You can set the following options for the Login UI (see Interfaces — Options):highlight_identity_providers which will show Identity Provider options (Google, Apple, Facebook, etc.) separately on top, using their respective logoshighlight_one_step_options which will add a star to factors that let users complete the flow in one step (based on their scores and what's required)show_scores which will add the score to the factors as well as to the progress bar (useful for testing to get a better understanding of factor scores)config.tokens.{internal|external}.login.exp: string) - Expiration of login sessions, i.e. how long users will stay logged-in on the login UI.config.tokens.{internal|external}.signup.exp: string) - Expiration of signup sessions, i.e. how long users have to complete signup on the login UI.internal accounts (your team) and external accounts (your customers).config.tokens.{internal|external}.{login|signup|consent}.enc: boolean) - Whether the login, signup or consent token is encrypted. Enabled by default.config.tokens.{internal|external}.{login|signup|consent}.ipb: boolean) - Whether the login, signup or consent token is IP bound, i.e. if the token can only be used from the original IP. This aids in protection against token theft but invalidates the token if the account roams and moves across different IPs. Enabled by default, except for external login and signup tokens.config.accounts.pending.exp: string) - Expiration of pending accounts, i.e. how long accounts that have not completed signup exist. A pending account is deleted within a few minutes after it expires, together with its enrollments, claims, consents and tokens, so a signup that isn't completed in time has to start over.config.accounts.enabled.exp: string) - Expiration of inactive accounts, i.e. how long before an inactive account is deleted.s, secs or seconds.m, mins or minutes.h, hrs or hours.d or days.w or weeks.y, yrs or years.NONEconfig.extensions.enabled.exp: string, read-only) - How long after its last successful run an unused extension is deleted: 30d, or NONE (never) for enterprise tenants.config.extensions.enabled.max: number, read-only) - How many extensions the tenant can have: 5, or 10 for enterprise tenants.tier: STANDARD or ENTERPRISE) follows its subscription: tenants on an Enterprise subscription are ENTERPRISE. Enterprise tenants get the extension settings above and can keep inactive accounts for up to 5 years (instead of 400 days). When you update a tenant through the Management API, pass its tier to have your configuration checked against that tier's limits. Without it the standard limits apply; a tier that doesn't match the tenant's is rejected with INVALID_PARAMETER.