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.
# Methods
# init(userId:projectId:revoked:pinLength:mpinId:token:dtas:publicKey:)
public init(
userId: String,
projectId: String,
revoked: Bool,
pinLength: Int,
mpinId: Data,
token: Data,
dtas: String,
publicKey: Data?
)