Attributes

Attributes

Attributes offer the option to securely store, capture, view, search and share personal data. Its use is completely optional - as customers can choose to keep all personal data in an external location and use Quasr without any personal data.

Before we start let's tackle some important terminology:

  • Attribute - When we refer to an attribute we generally refer to an attribute configuration and not a specific value itself. For example the configuration of an email attribute. Sometimes we do use the term as well for a specific value.
  • Claim - When we refer to a claim we refer to an individual instantiation of an attribute. For example a specific email address. We always use this term to refer to a specific value.
  1. 1The session score a user needs to provide or view a claim through the Authentication API
  2. 2The number of claims, refreshed periodically
  3. 3Only for internal accounts, e.g. your team
  4. 4Only an admin or the system can create claims, users can't provide their own
  5. 5Claims are pending until validated, e.g. by the OTP sent to the email address

Types

Quasr supports 2 types of attributes:

  • Standard - Attributes as defined by the OpenID Connect 1.0 specification. Their key in tokens is fixed.
  • Custom - Attributes defined by yourself, with a key of your choice.
Name Click to sort ascendingType Click to sort ascendingSubtype Click to sort ascendingKey Click to sort ascendingFormat
NameStandardstring:oidc1:namenameFull name, string of max 100 characters
Given NameStandardstring:oidc1:given_namegiven_nameFirst name, string of max 100 characters
Family NameStandardstring:oidc1:family_namefamily_nameLast name, string of max 100 characters
Middle NameStandardstring:oidc1:middle_namemiddle_nameString of max 100 characters
NicknameStandardstring:oidc1:nicknamenicknameString of max 100 characters
Preferred UsernameStandardstring:oidc1:preferred_usernamepreferred_usernameString of max 100 characters
ProfileStandardurl:oidc1:profileprofileURL
PictureStandardurl:oidc1:picturepictureURL
WebsiteStandardurl:oidc1:websitewebsiteURL
EmailStandardstring:oidc1:emailemailEmail address
GenderStandardstring:oidc1:gendergenderString of max 100 characters
BirthdateStandardstring:oidc1:birthdatebirthdateDate in YYYY-MM-DD format
Time ZoneStandardstring:oidc1:zoneinfozoneinfoTime zone, e.g. Europe/Paris
LocaleStandardstring:oidc1:localelocaleLocale in en_US or en-US format
Phone NumberStandardstring:oidc1:phone_numberphone_numberPhone number in international E.164 format, e.g. +32470123456
Formatted AddressStandardstring:oidc1:address:formattedformattedFull address on 1 line, string of max 100 characters
Street AddressStandardstring:oidc1:address:street_addressstreet_addressString of max 100 characters
LocalityStandardstring:oidc1:address:localitylocalityCity or town, string of max 100 characters
RegionStandardstring:oidc1:address:regionregionState or province, string of max 100 characters
Postal CodeStandardstring:oidc1:address:postal_codepostal_codeString of max 100 characters
CountryStandardstring:oidc1:address:countrycountryString of max 100 characters
StringCustomstringYour choiceString of max 100 characters, or matching your own regular expression (RegEx)
EnumCustomstring:enumYour choiceOne of a list of allowed values (config.list)
NumberCustomnumberYour choiceInteger
BooleanCustombooleanYour choicetrue or false
URLCustomurlYour choiceURL
JSONCustomjsonYour choiceJSON object

Configuration

All attributes have following general configuration options:

  • Label (label: string) - Textual label returned in the Authentication API and used on the Account UI.
  • Status (status: string) - The current status of the attribute. If disabled, the attribute can't be used and all claims will be locked.
  • Score (score: number) - Each attribute will have a score indicating what (security) score a user needs in order to see or provide claims via the Authentication API during signup or login. This allows shielding data from users that haven't sufficiently authenticated.
  • Value (value: string) - This is the key by which the attribute will be injected into an identity or access token. Please note that no uniqueness check is performed on the value hence any key collisions will result in some attribute being overwritten.
  • Unique (config.unique: boolean) - This indicates whether each individual value (claim) for the attribute must be unique. So if you say for example that the email attribute is unique then only 1 account can have a specific email.
  • Internal (config.internal: boolean) - This indicates that the attribute should only be used by internal accounts. For example an internal employee number, badge number or unit.
  • Restricted (config.restricted: boolean) - This indicates that the attribute can only be created by the system or an admin. Hence not allowing accounts to create their own. For example a loyalty tier or membership.
  • Regex (config.regex: string) - This is only applicable to string attributes and is a regular expression (RegEx) to which any input must comply.
  • Case Sensitive (config.case_sensitive: boolean) - This indicates whether input must be considered case sensitive when checking uniqueness (if the attribute must be unique) and in exact searches.
  • Require Validation (config.require_validation_for_enablement: boolean) - This indicates whether any individual value (claim) must first be validated before it gets enabled. Defaults to true for the email and phone number attributes, and to false for all other attributes. Claims that need validation are created as PENDING, and can be enabled in 3 ways:
    1. Validated through a factor - Using sources the claim is linked to a factor enrollment, and enabled automatically once that enrollment is validated. For example an email address is enabled once the user enters the One-Time Password (OTP) sent to it. For claims created by the user or an admin this requires a bidirectional source, which enrolls the user in the factor with the claim's value.
    2. Captured verified - Claims captured from an identity provider are enabled right away if the provider marks the value as verified, e.g. with email_verified. See Sources.
    3. Enabled by an admin - An administrator validates the value outside of Quasr and enables the claim in the Admin UI, with the updateClaim operation of the Management API or the update-claim tool of the Agent API by setting its status to ENABLED. Admins can also create a claim as ENABLED right away with createClaim or create-claim.
  • Expires In (config.expires_in: string) - Only relevant if validation is required. Time indication for how long the system or admins have to validate a claim for enablement. A pending claim that isn't validated in time is deleted.
  • Singular (config.singular: boolean) - This indicates whether accounts can only have a single claim for this attribute.
  1. 1New claims are pending until validated through a linked factor, or by an admin
  2. 2A pending claim that isn't validated within this time is deleted (at most 30 days)
  3. 3Each email address can belong to only 1 account in the tenant; can't be changed after creation
2026.11.22 | © Copyright 2026 Quasr BV