UserDto

class UserDto(val userId: String, val projectId: String, val revoked: Boolean, val pinLength: Int, val mpinId: ByteArray, val token: ByteArray, val dtas: String, val publicKey: ByteArray?)

Defines the persistent data representation of a user.

A user is uniquely identified by the composite key of (userId, projectId).

WARNING: This object contains sensitive data. Implementers must ensure secure storage (e.g., encryption at rest).

Constructors

Link copied to clipboard
constructor(userId: String, projectId: String, revoked: Boolean, pinLength: Int, mpinId: ByteArray, token: ByteArray, dtas: String, publicKey: ByteArray?)

Properties

Link copied to clipboard

Data required for server-side validation.

Link copied to clipboard

The identifier of this user registration in the MIRACL Trust Platform.

Link copied to clipboard

The user's PIN's number of digits.

Link copied to clipboard

The identifier of the project this user belongs to.

Link copied to clipboard

The public part of the user's signing key.

Link copied to clipboard

The revocation status of the user.

Link copied to clipboard

A secure user token. CAUTION This field contain sensitive data. The storage implementation is responsible for its secure handling, including encryption at rest.

Link copied to clipboard

The identifier of the user, which is unique within the scope of a project. Could be email, username, etc.