User
The authenticated user. Fields are gated by the access token's granted scopes;
fields not granted by the token resolve to null.
Anchor to FieldsFields
- avatar (String)
- email (String)
- emailVerified (Boolean)
- familyName (String)
- givenName (String)
- name (String)
- phone (String)
- phoneVerified (Boolean)
- sub (String)
- Anchor to avataravatar•String
URL of the user's avatar image. Requires the
avatarorprofilescope.- Anchor to emailemail•String
The user's email address. Requires
email(also granted byemail:verifiedoruser:manage).- Anchor to emailVerifiedemail•Boolean
Verified Whether the user's email has been verified. Requires
email(also granted byemail:verifiedoruser:manage).- Anchor to familyNamefamily•String
Name The user's family (last) name. Requires the
nameorprofilescope.- Anchor to givenNamegiven•String
Name The user's given (first) name. Requires the
nameorprofilescope.- Anchor to namename•String
The user's full name (given + family). Requires the
nameorprofilescope.- Anchor to phonephone•String
The user's phone number. Requires
phone(also granted byphone:verifiedoruser:manage). Returnsnullif the user has no phone on record.- Anchor to phoneVerifiedphone•Boolean
Verified Whether the user's phone number has been verified. Requires
phone(also granted byphone:verifiedoruser:manage). Returnsnullif the user has no phone on record.- •String
Stable subject identifier of the user. Always present when the token authenticates a user; not gated by a specific scope.
Anchor to QueriesQueries
- user (User!)
- •query
Entry point to user-scoped queries.