iden3/go-iden3-core

Specify API for claims nonces and versions

Closed this issue · 1 comments

ed255 commented

Currently the approach is to give the nonce and version in the claim constructor. Usually, the user will not care about the nonce and version, and it will be the Issuer class the one in charge of deciding a nonce and the version. It would be nice to have a user API for building claims that doesn't require specifying nonce and version.

ed255 commented

Also Expiration.

Handle claim flags.