User

# User


data class User(userId: String, projectId: String, revoked: Boolean, 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.
revoked Provides information if the user is revoked or not.
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, revoked: Boolean, 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
revoked
val revoked: Boolean
signingIdentityId
var signingIdentityId: UUID?
userId
val userId: String