Identity
Identity is a Miracl Trust data class to represent an identity.
data class Identity(userId: String, pinLength: Int, isBlocked: Boolean, mpinId: ByteArray, token: ByteArray, dtas: String)
Parameters
Name | Summary |
---|---|
dtas | required for server side validation. |
isBlocked | provides information if the identity is blocked or not. |
mpinId | representing the identity to the Miracl Trust Platform. |
token | representing the identity securely. |
userId | Identifier of the identity. Could be email, username, etc. |
Constructors
Name | Summary |
---|---|
Identity | Identifier of the identity. Could be email, username, etc. fun Identity(userId: String, pinLength: Int, isBlocked: Boolean, mpinId: ByteArray, token: ByteArray, dtas: String) |
Types
Name | Summary |
---|---|
Companion | Content object Companion |
Functions
Name | Summary |
---|---|
component1 | Content operator fun component1(): String |
component2 | Content operator fun component2(): Int |
component3 | Content operator fun component3(): Boolean |
component4 | Content operator fun component4(): ByteArray |
component5 | Content operator fun component5(): ByteArray |
component6 | Content operator fun component6(): String |
copy | Content fun copy(userId: String, pinLength: Int, isBlocked: Boolean, mpinId: ByteArray, token: ByteArray, dtas: String): Identity |
equals | Content open operator override fun equals(other: Any?): Boolean |
hashCode | Content open override fun hashCode(): Int |
toString | Content open override fun toString(): String |
Properties
Name | Summary |
---|---|
dtas | required for server side validation. val dtas: String |
isBlocked | provides information if the identity is blocked or not. val isBlocked: Boolean |
mpinId | representing the identity to the Miracl Trust Platform. val mpinId: ByteArray |
pinLength | val pinLength: Int |
token | representing the identity securely. val token: ByteArray |
userId | Identifier of the identity. Could be email, username, etc. val userId: String |