User

# User


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

Object representing the user in the platform.

# Parameters

userId Identifier of the user. Could be email, username, etc.
projectId Required to link the user with the project on the MIRACLTrust platform.
authenticationIdentityId Identifier of the user authentication identity.
signingIdentityId Identifier of the user signing identity.
userStorage Storage used for retrieving user identities.

# Constructors

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

# Functions

Name Summary
getAuthenticationIdentity
fun getAuthenticationIdentity(): Identity?
getSigningIdentity
fun getSigningIdentity(): Identity?

# Properties

Name Summary
authenticationIdentityId
var authenticationIdentityId: UUID
projectId
val projectId: String
signingIdentityId
var signingIdentityId: UUID?
userId
val userId: String