Claims can be viewed by the account they belong to and by admins. Claim values are stored encrypted and are only decrypted when they are returned to someone allowed to view them.
An account can view its own claims in following ways:
GET attributes endpoint of the Authentication API, called with the session token as bearer token, returns the account's pending and enabled claims whose score is equal to or lower than the score of the session. This lets your Login UI show (and complete) the data you already have about the user.https://{tenant_id}.account.quasr.io/attributes, and see which factors a claim is linked to in its Factors tab.getClaim and listClaims operations only return the calling account's own claims.Admins can view the claims of any account in the tenant in following ways:
https://{tenant_id}.admin.quasr.io/accounts/{account_id}/attributes.getClaim operation returns a single claim, and the listClaims operation the claims of the account passed in account.get-claim or list-claims tool can be used. See Agent API.To find accounts by the value of their claims, e.g. by email address, see Search.
listClaims returns 25 claims by default and at most 100 per request (limit). If more claims are available a nextToken is returned, which you pass in the next request to get the next page.A claim has following properties:
id: string) - The ID of the claim.account: string) - The ID of the account the claim belongs to.attribute: string) - The ID of the attribute the claim is a value of.label: string) - The label of the attribute.subtype: string) - The subtype of the attribute, e.g. string:oidc1:email.score: number) - The score of the attribute, i.e. the session score needed to view the claim in the Authentication API.value: string) - The value of the claim. Number, boolean and JSON values are returned as a string.status: string) - One of following: PENDING - The claim still needs to be validated, see Require Validation. It's enabled by validating a linked factor enrollment, or by an admin; the account itself can't enable it.ENABLED - The claim is valid.DISABLED - The claim is no longer valid, but kept for its history.LOCKED - The claim is locked, e.g. because its attribute was disabled.expires_at: string) - When a pending claim will be deleted if it isn't validated, see Expires In, or when a claim with an expiration set by an admin will be deleted, see Capture.config.restricted: boolean) - Whether the claim belongs to a restricted attribute, i.e. one that can only be managed by an admin.created_at, created_by, updated_at, updated_by) - When and by which account the claim was created and last updated.When a claim is captured from a factor through a source, a link is created between the claim and the factor enrollment it was captured from. Links show where a claim came from, and are used to enable the claim when its enrollment is validated (except for identity provider enrollments), and for bidirectional sources the enrollment when the claim is validated.
getLink or listLinks operation can be used, by admins for any account and by accounts for their own links.get-link or list-links tool can be used.An email address in the Account UI: captured by the email OTP, and used to create the email username enrollment