User

CLASS

# User

@objc public class User: NSObject

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

# Properties

# userId

public var userId = ""

Identifier of the user (e.g email address)

# projectId

public var projectId = ""

Identifier of the project in the MIRACL Trust platform.

# revoked

public var revoked = false

# pinLength

public var pinLength = 4

The number of the digits the identity PIN should be.

# hashedMpinId

public var hashedMpinId: String

Hex encoded SHA256 representation of the mpinId property.