UserInfo

data class UserInfo(val applicationId: String? = null, val birthdate: String? = null, val email: String? = null, val email_verified: Boolean? = null, val family_name: String? = null, val given_name: String? = null, val name: String? = null, val middle_name: String? = null, val phone_number: String? = null, val picture: String? = null, val preferred_username: String? = null, val roles: List<String>? = null, val sub: String)

Represents the user information retrieved from the authorization service. More information about the user info can be found in the FusionAuth documentation

Constructors

Link copied to clipboard
constructor(applicationId: String? = null, birthdate: String? = null, email: String? = null, email_verified: Boolean? = null, family_name: String? = null, given_name: String? = null, name: String? = null, middle_name: String? = null, phone_number: String? = null, picture: String? = null, preferred_username: String? = null, roles: List<String>? = null, sub: String)

Properties

Link copied to clipboard

The ID of the application.

Link copied to clipboard

The user's birthdate.

Link copied to clipboard

The user's email address.

Link copied to clipboard

Indicates if the user's email address has been verified.

Link copied to clipboard

The user's family name.

Link copied to clipboard

The user's given name.

Link copied to clipboard

The user's middle name.

Link copied to clipboard
val name: String?

The user's full name.

Link copied to clipboard

The user's phone number.

Link copied to clipboard

The URL of the user's profile picture.

Link copied to clipboard

The user's preferred username.

Link copied to clipboard

The roles the user is assigned to.

Link copied to clipboard
val sub: String

The subject identifier of the user.