Interface: Secret
Defined in: src/models/types.ts:137
Describes a single authentication secret associated with a specific user account. A secret is used to authenticate the user with the system.
Supported types of secrets:
fido2openidpasswordpasskeytotp
Extends
BaseEntity
Properties
data
data:
any
Defined in: src/models/types.ts:141
The data associated with the secret.
dateCreated
dateCreated:
Date
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:18
The date and time that the entity was created.
Inherited from
BaseEntity.dateCreated
dateModified
dateModified:
Date
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:22
The date and time that the entity was last modified.
Inherited from
BaseEntity.dateModified
type
type:
SecretType
Defined in: src/models/types.ts:146
The type of secret (e.g. fido2, openid, password, passkey, totp)
uid
uid:
string
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:14
The universally unique identifier of the entity.
Inherited from
BaseEntity.uid
userUid
userUid:
string
Defined in: src/models/types.ts:151
The unique identifier of the user account this secret is associated with.
version
version:
number
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:26
The optimistic lock version.
Inherited from
BaseEntity.version