# User
data class User(val userId: String, val projectId: String, val revoked: Boolean, var authenticationIdentityId: UUID, var 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 | constructor(userId: String, projectId: String, revoked: Boolean, authenticationIdentityId: UUID, signingIdentityId: UUID?, userStorage: UserStorage) |
# Properties
Name | Summary |
---|---|
authenticationIdentityId | var authenticationIdentityId: UUID |
projectId | val projectId: String |
revoked | val revoked: Boolean |
signingIdentityId | var signingIdentityId: UUID? |
userId | val userId: String |
# Functions
Name | Summary |
---|---|
getAuthenticationIdentity | fun getAuthenticationIdentity(): Identity? |
getSigningIdentity | fun getSigningIdentity(): Identity? |