User

User

Object representing the user in the platform.

data class User(userId: String, projectId: String, authenticationIdentityId: UUID, signingIdentityId: UUID?, userStorage: UserStorage)

Parameters

Name Summary
authenticationIdentityId

Identifier of the user authentication identity.

projectId

Required to link the user with the project on the MIRACLTrust platform.

signingIdentityId

Identifier of the user signing identity.

userId

Identifier of the user. Could be email, username, etc.

userStorage

Storage used for retrieving user identities.

Constructors

Name Summary
User

Identifier of the user. Could be email, username, etc.

fun User(userId: String, projectId: String, authenticationIdentityId: UUID, signingIdentityId: UUID?, userStorage: UserStorage)

Functions

Name Summary
component1
Content
operator fun component1(): String


component2
Content
operator fun component2(): String


component3
Content
operator fun component3(): UUID


component4
Content
operator fun component4(): UUID?


copy
Content
fun copy(userId: String, projectId: String, authenticationIdentityId: UUID, signingIdentityId: UUID?, userStorage: UserStorage): User


equals
Content
open operator override fun equals(other: Any?): Boolean


getAuthenticationIdentity
Content
fun getAuthenticationIdentity(): Identity?


getSigningIdentity
Content
fun getSigningIdentity(): Identity?


hashCode
Content
open override fun hashCode(): Int


toString
Content
open override fun toString(): String


Properties

Name Summary
authenticationIdentityId

Identifier of the user authentication identity.

var authenticationIdentityId: UUID
projectId

Required to link the user with the project on the MIRACLTrust platform.

val projectId: String
signingIdentityId

Identifier of the user signing identity.

var signingIdentityId: UUID?
userId

Identifier of the user. Could be email, username, etc.

val userId: String