Interface

User

User

A user's full profile as returned by the flow API.
Properties:
Name Type Attributes Description
user_id string The user's unique ID.
passkeys Array.<WebauthnCredential> <optional>
The user's registered passkeys.
security_keys Array.<WebauthnCredential> <optional>
The user's registered security keys.
mfa_config MFAConfig <optional>
The user's multi-factor authentication configuration.
emails Array.<Email> <optional>
The user's email addresses.
username Username <optional>
The user's username, if set.
metadata UserMetadata <optional>
The user's custom metadata.
identities Array.<Identity> <optional>
Third-party identities linked to the user.
created_at string Timestamp of when the user was created.
updated_at string Timestamp of when the user was last updated.
name string <optional>
The user's full name, if known (e.g. from a third-party provider).
given_name string <optional>
The user's given name, if known.
family_name string <optional>
The user's family name, if known.
picture string <optional>
A URL to the user's profile picture, if known.

View Source lib/flow-api/types/payload.ts, line 130