You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Send the sealed result and transaction, and read status and Human Confidence, in the 51Did client #285
The cloud's 51Did endpoints now take new names and give new fields, beside the ones they had. Nothing they gave before has changed or gone.
What the cloud now does
/api/v4/id/redeem takes the sealed result as sealedResult and the single-use binding as transaction. result and challenge still work as obsolete names.
Every redeem answer adds status: success, expired, replayed, unconfirmed or unreadable. The failure word is still written to context, as before.
On success, the redeem answer adds humanConfidence, the Human Confidence Value the 51Did carries (High, Medium, Low or Absent), for a License Key valid for Human Confidence. Any other call gets humanConfidenceNullReason instead.
/api/v4/id/verify adds humanConfidence, or humanConfidenceNullReason, for a 51Did whose signature verifies.
A call that uses result or challenge gets an added obsolete array of messages naming the replacement.
What the client should do
DidClient.redeem should send sealedResult and transaction, and the result and challenge arguments should be obsolete while they keep working.
The redeem answer should read status into its own enumeration. The ContextResult members that say what happened to the sealed result (EXPIRED, REPLAYED, UNREADABLE and UNCONFIRMED) should be obsolete, and keep their values, because the cloud still writes those words to context.
The verify and redeem calls should expose the Human Confidence Value and its null reason.
Every member a caller reads today should read the new answers exactly as it reads today's.
Fixed by #286, which sends sealedResult and transaction, reads status into its own enumeration, and gives the Human Confidence value and its null reason from verify and redeem. Released in 4.6.2 through #240 and #302.
Activity
jwrosewell commentedon Dec 1, 2026
Fixed by #286, which sends
sealedResultandtransaction, readsstatusinto its own enumeration, and gives the Human Confidence value and its null reason from verify and redeem. Released in 4.6.2 through #240 and #302.