UserData

@Serializable
class UserData(val data: ResponseData, val result: Int, val message: String) : BaseResponse

The user profile data returned by the Monterosa identity service.

Returned by co.monterosa.sdk.common.interfaces.IdentifyKitApi.getUserData and co.monterosa.sdk.common.interfaces.IdentifyKitApi.updateUserData. The data map contains the user's profile fields as defined by the project's identity configuration.

Constructors

Link copied to clipboard
constructor(data: ResponseData, result: Int, message: String)

Properties

Link copied to clipboard

A map of user profile fields keyed by field name.

Link copied to clipboard
open override val message: String

A human-readable message accompanying result.

Link copied to clipboard
open override val result: Int

The result code from the identity service response.

Functions

Link copied to clipboard
open override fun toString(): String