Package-level declarations

Types

Link copied to clipboard
interface BaseResponse

Common shape for a response from the Monterosa identity service: a result code paired with a human-readable message.

Link copied to clipboard
@Serializable
data class Credentials(val token: String)

The type represents a user credentials.

Link copied to clipboard

Identifies the kind of failure carried by a co.monterosa.sdk.common.MonterosaSdkError.

Link copied to clipboard
@Serializable(with = ResponseDataSerializer::class)
data class ResponseData(val data: Map<String, Any?>)

The type represents a set of response data.

Link copied to clipboard
@Serializable
data class Signature(val signature: String, val userId: String, val timestamp: Long)

The type represents a digital signature. It contains three properties: userId, timestamp, and signature. These properties are respectively of type string, number, and string.

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

The user profile data returned by the Monterosa identity service.