There are 5 ways in which claims can be captured:
The user can manually provide claims during signup or login using the Authentication API. Important is the score of the attributes you want to store as the user needs to have a session with a (security) score at least equal to the score of the attribute.
You make a POST request to the attributes endpoint in the Authentication API with the claims in the body and session token as bearer token in the Authorization header (i.e. Bearer {session_token}). See: https://documenter.getpostman.com/view/18129777/UVXgMHEv#308758fb-f6cd-4719-a276-b592ac43a002.
Our Login UI does both: the email address a user signs up with is captured automatically by a source, and the personal data an application needs is asked once the user's score is high enough.
Captured automatically: the email address of the Email OTP
Provided manually: the personal data the application needs
Alternatively the user can also manually provide claims in the Account UI, via the Management API or via the Agent API. In the Account UI users can go to Attributes and then click Create in the upper right corner.
The system can automatically source claims from factors via sources. Using sources allows you to capture claims from following factors:
An admin can manually provide claims in the Admin UI, via the Management API or via the Agent API. In the Admin UI admins can go to Users, select the desired user, go to the Attributes tab and then click Create in the upper right corner. Unlike users, admins can create a claim as ENABLED right away, and can give it an expiration (expires_at, or expires_in in the APIs) after which it's deleted, e.g. for a temporary membership.
The createClaim operation is used in the Management API. See: https://documenter.getpostman.com/view/18129777/UVXgMHEv#8cbff6cd-e095-4837-b172-aab080f17f61
The create-claim tool is used in the Agent API. See Agent API.