Skip to main content

AuthenticatedUser

Custom user model to change behaviour of the default user model such as validation and required fields.

type AuthenticatedUser {
id: UUID!
identity: String
avatarDefaultColor: String!
avatarLabel: String!
role: UserRole
fullName: String!
avatar: String
avatarBlurhash: String
firstName: String
lastName: String
aboutMe: String
pronouns: String
location: String
geolocationId: String
engagementLevel: String
interests: [Topic]!
sdgs: [SDG]!
skills: [Skill]!
connectionStatusToMyself: UserConnectionStatus
connectionStatusToSpace(
spaceId: UUID!
): [SpaceUserConnectionType]!
trackingConsentAnalytics: Boolean
trackingConsentPersonalization: Boolean
isEmployee: Boolean!
isVerified: Boolean!
}

Fields

AuthenticatedUser.id ● UUID! non-null scalar

Required. 36 characters or fewer. Letters, digits and _ only.

AuthenticatedUser.identity ● String scalar

255 characters or fewer. Must start with a lowercase letter and contain lowercase letters, digits, '_', '-' and '.' only.

AuthenticatedUser.avatarDefaultColor ● String! non-null scalar

AuthenticatedUser.avatarLabel ● String! non-null scalar

AuthenticatedUser.role ● UserRole enum

AuthenticatedUser.fullName ● String! non-null scalar

Can be an empty string

AuthenticatedUser.avatar ● String scalar

AuthenticatedUser.avatarBlurhash ● String scalar

AuthenticatedUser.firstName ● String scalar

AuthenticatedUser.lastName ● String scalar

AuthenticatedUser.aboutMe ● String scalar

AuthenticatedUser.pronouns ● String scalar

AuthenticatedUser.location ● String scalar

AuthenticatedUser.geolocationId ● String scalar

AuthenticatedUser.engagementLevel ● String scalar

AuthenticatedUser.interests ● [Topic]! non-null object

AuthenticatedUser.sdgs ● [SDG]! non-null object

AuthenticatedUser.skills ● [Skill]! non-null object

AuthenticatedUser.connectionStatusToMyself ● UserConnectionStatus enum

AuthenticatedUser.connectionStatusToSpace ● [SpaceUserConnectionType]! non-null enum

AuthenticatedUser.connectionStatusToSpace.spaceId ● UUID! non-null scalar

AuthenticatedUser.trackingConsentAnalytics ● Boolean scalar

AuthenticatedUser.trackingConsentPersonalization ● Boolean scalar

AuthenticatedUser.isEmployee ● Boolean! non-null scalar

Designates whether the user is an employee.

AuthenticatedUser.isVerified ● Boolean! non-null scalar

Indicates whether the user's account has been verified.

Returned by

authenticatedUserV2 query ● updateAuthenticatedUserV2 mutation