Create a RepositoryAttribute
This use case is intended to create a RepositoryAttribute, i.e. an unshared LocalAttribute based on a given IdentityAttribute.
Parameters
- The
content
for the LocalAttribute that ought to be created as IdentityAttribute without theowner
property, since it is automatically set to theaddress
of your Identity.
On Success
- A LocalAttribute is created according to the parameters and returned with an undefined
shareInfo
.
On Failure
- The LocalAttribute cannot be created if there is already an existing RepositoryAttribute whose
succeededBy
property is undefined that has the exact samecontent.value
.