UserInfo

@Serializable
data class UserInfo(val sub: String, val isVerified: Boolean, val isAnonymous: Boolean, val canReauthenticate: Boolean, val roles: Array<String>? = null, val customAttributes: JsonObject, val email: String? = null, val emailVerified: Boolean? = null, val phoneNumber: String? = null, val phoneNumberVerified: Boolean? = null, val preferredUsername: String? = null, val familyName: String? = null, val givenName: String? = null, val middleName: String? = null, val name: String? = null, val nickname: String? = null, val picture: String? = null, val profile: String? = null, val website: String? = null, val gender: String? = null, val birthdate: String? = null, val zoneinfo: String? = null, val locale: String? = null, val address: UserInfoAddress? = null)

Constructors

Link copied to clipboard
constructor(sub: String, isVerified: Boolean, isAnonymous: Boolean, canReauthenticate: Boolean, roles: Array<String>? = null, customAttributes: JsonObject, email: String? = null, emailVerified: Boolean? = null, phoneNumber: String? = null, phoneNumberVerified: Boolean? = null, preferredUsername: String? = null, familyName: String? = null, givenName: String? = null, middleName: String? = null, name: String? = null, nickname: String? = null, picture: String? = null, profile: String? = null, website: String? = null, gender: String? = null, birthdate: String? = null, zoneinfo: String? = null, locale: String? = null, address: UserInfoAddress? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val birthdate: String? = null
Link copied to clipboard
@SerialName(value = "https://authgear.com/claims/user/can_reauthenticate")
val canReauthenticate: Boolean
Link copied to clipboard
@SerialName(value = "custom_attributes")
val customAttributes: JsonObject
Link copied to clipboard
val email: String? = null
Link copied to clipboard
@SerialName(value = "email_verified")
val emailVerified: Boolean? = null
Link copied to clipboard
@SerialName(value = "family_name")
val familyName: String? = null
Link copied to clipboard
val gender: String? = null
Link copied to clipboard
@SerialName(value = "given_name")
val givenName: String? = null
Link copied to clipboard
@SerialName(value = "https://authgear.com/claims/user/is_anonymous")
val isAnonymous: Boolean
Link copied to clipboard
@SerialName(value = "https://authgear.com/claims/user/is_verified")
val isVerified: Boolean
Link copied to clipboard
val locale: String? = null
Link copied to clipboard
@SerialName(value = "middle_name")
val middleName: String? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val nickname: String? = null
Link copied to clipboard
@SerialName(value = "phone_number")
val phoneNumber: String? = null
Link copied to clipboard
@SerialName(value = "phone_number_verified")
val phoneNumberVerified: Boolean? = null
Link copied to clipboard
val picture: String? = null
Link copied to clipboard
@SerialName(value = "preferred_username")
val preferredUsername: String? = null
Link copied to clipboard
val profile: String? = null
Link copied to clipboard
@SerialName(value = "https://authgear.com/claims/user/roles")
val roles: Array<String>? = null
Link copied to clipboard
val sub: String
Link copied to clipboard
val website: String? = null
Link copied to clipboard
val zoneinfo: String? = null