User

CLASS

# User

@objc public final class User: NSObject, Sendable

Representing user in the MIRACL platform. This user is having authentication and signing identities.

# Properties

# userId

public let userId: String

Identifier of the user (e.g email address)

# projectId

public let projectId: String

Identifier of the project in the MIRACL Trust platform.

# revoked

public let revoked: Bool

# pinLength

public let pinLength: Int

The number of the digits the identity PIN should be.

# hashedMpinId

public var hashedMpinId: String

Hex encoded SHA256 representation of the mpinId property.